文件名称:Simulator
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:98.97kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
模拟蚂蚁和食蚁兽的生存规律。在20X20的网格世界里,每个生物每次可向四个方向移动(但不会移除网格边缘),食蚁兽会吃掉在他目标处的蚂蚁-The goal for this programming project is to create a simple 2D predator-prey simulation.
In this simulation the prey are ants and the predators are doodlebugs.
These critters live in a world composed of a 20x20 grid of cells.
Only one critter may occupy a cell at a time. The grid is enclosed, so a critter is not allowed to move off the edges of the world.
Time is simulated in time steps.
Each critter performs some action every time step.
In this simulation the prey are ants and the predators are doodlebugs.
These critters live in a world composed of a 20x20 grid of cells.
Only one critter may occupy a cell at a time. The grid is enclosed, so a critter is not allowed to move off the edges of the world.
Time is simulated in time steps.
Each critter performs some action every time step.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Simulator/Ant.cpp
Simulator/Ant.h
Simulator/constants.h
Simulator/Doodlebug.cpp
Simulator/Doodlebug.h
Simulator/Organism.cpp
Simulator/Organism.h
Simulator/Simulator.exe
Simulator/testOrganism.cpp
Simulator/World.cpp
Simulator/World.h
Simulator
Simulator/Ant.h
Simulator/constants.h
Simulator/Doodlebug.cpp
Simulator/Doodlebug.h
Simulator/Organism.cpp
Simulator/Organism.h
Simulator/Simulator.exe
Simulator/testOrganism.cpp
Simulator/World.cpp
Simulator/World.h
Simulator
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.