|
|
|
Final
Project - Movement of Ants
Ants are social insects living in communities of various sizes with
methods of communication that can let the whole colony appear to behave
as a single organism. Many species of ants communicate their
movements when they are carrying food by leaving trails with a chemical
pheromone. In this project you will simulate the movement of ants
in the presence of a chemical trail using a Cell class and a Garden
class with the garden represented by a two-dimensional array of Cell
objects. Simple rules along with the rand() random number
generator will be used in the simulation. You will also use the list<T> class in one part of the
project.
Find out more about ants at Wikipedia.

Be sure to use good programming practices in developing your program
(e.g., white spaces, indentation, meaningful variable names, stepwise
implementation, separate compilation for classes).
Check this page occasionally for updates
and suggestions.
4/21 - Part J involving class inheritance will be posted on Monday,
April 27.
4/29 - Here is Part J of the project on
inheritance and polymorphism. You will also be using the
vector<T> class.
|
|