cellular automata 源码
元胞自动机 用两行描述性语言创建一个元胞自动机,并观察其发展过程: 例如 { "InitialCondition": "1 0.2", "0": [ "CountAdjacent eq 1 3 1" ], "1": [ "CountAdjacent lt 1 2 0", "CountAdjacent gt 1 3 0" ] } ^^这对应于conway的生活游戏。 { "0": [ "SpontaneousChange 1 0.02", "CountAdjacentChance gt 1 0 1 0.1" ], "1": [ "SpontaneousChange 2 0.002", "CountAdjacent gt 2 0 2" ], "2":
用户评论