没有合适的资源?快使用搜索试试~ 我知道了~
automatatron:Python元胞自动机引擎
共13个文件
py:10个
md:1个
gitignore:1个
需积分: 13 1 下载量 188 浏览量
2021-06-17
09:22:57
上传
评论
收藏 13KB ZIP 举报
温馨提示
自动机 用于创建和使用。 安装 pip install automatatron 命令行 ./run.py -r N 其中N是规则编号。 默认规则编号为 30。 例子 创建所有可能的自动机 # Print the first 10 rows of all possible automaton. for rule in range ( 1 , 257 ): automaton = automatatron . Engine ( rule ) automaton . run ( iterations = 10 ) print automaton 打印规则 30 的 50 次迭代 automaton = automatatron . Engine ( 30 ) automaton . run ( iterations = 50 ) print automaton 印刷:
资源推荐
资源详情
资源评论
收起资源包目录
automatatron-master.zip (13个子文件)
automatatron-master
example.py 2KB
tests
unit
automata_iteration_test.py 4KB
__init__.py 0B
rule_construction_test.py 2KB
__init__.py 0B
LICENSE 1KB
run.py 2KB
automatatron
engine.py 4KB
__init__.py 1KB
version.py 1KB
setup.py 2KB
.gitignore 46B
README.md 12KB
共 13 条
- 1
资源评论
盗心魔幻
- 粉丝: 15
- 资源: 4478
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功