文件名称:ant
介绍说明--下载内容均来自于网络,请自行研究使用
此程序是用元胞自动机来仿真模拟蚂蚁游戏。初始时,蚂蚁位于一张空白画布的某个方格里。如果当前蚂蚁在白色方格上,则对当前方格反色,左转?90?度,前进一格;如果当前蚂蚁在黑色方格上,则对当前方格反色,右转?90?度,前进一格。如此反复。(This program is using cellular automata to simulate the ant game. At the beginning, the ant is in a grid of a blank canvas. If the current ant is on the white square, it will turn color against the current square, turn left and move 90 degrees. If the ant is in the black square, the current square is reversed and the right turn is 90. So repeated.)
相关搜索: ant
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
ant | 0 | 2018-04-10 |
ant\A.mat | 171 | 2018-04-10 |
ant\ant4.m | 2637 | 2018-01-19 |
ant\ants.mat | 3732 | 2018-04-10 |
ant\matlab.mat | 652 | 2018-04-10 |