标题: rabbit 集合住宅尝试 [打印本页] 作者: dreamboy0711 时间: 2012-8-21 00:34 标题: rabbit 集合住宅尝试 今天看rabbit有一个很有意思的逻辑,之前也看到论坛有人介绍过但没有详细说,叫做CONWAY'S Game of life Rules。
具体的生长规则是这样的:
"This is the most famous cellular automata ever invented. People have been discovering patterns for this rule since around 1970. Large collections are available on the Internet.
The rule definition is very simple: a living cell remains alive only when surrounded by 2 or 3 living neighbors, otherwise it dies of loneliness or overcrowding. A dead cell comes to life when it has exactly 3 living neighbors.
也就是说单元体周围必须要有两到三个“邻居”,否则会死亡,但在生长过程中如果碰巧有三个相邻单元体时会复活。