Latest Simulation
Version 17.1
Versions 17 and 17.1 attempt to improve the move algorithm. It has been re-written, though still does not work successfully.
An auxiliary method called getNextGridSquare() is where the main calculations for the next movement happen. It is based on version 16, with modifications.
In this version ants do not follow trails back towards the nest successfully when they find food, this leads to trails all over the grid. Even so, some ants do make it back to the nest.
Source
Ant.javaGrid.java
event
EnterNestAntEvent.java
PickedUpFoodAntEvent.java
ExitNestAntEvent.java
FoodUpdateEvent.java
NewAntEvent.java
AliveAntEvent.java
AntListener.java
AntEvent.java
AntSimulator.java
PheromoneParticle.java
Obstacle.java
control
AntControl.java
AntControl.form
MyObjectInterface.java
Pheromone.java
MyObject.java
Nest.java
FoodCluster.java
GridSquare.java
GridVector.java
Food.java
Get the Flash Player to see this player.
Video 1 - A demonstration of the ant simulator with 29 food squares using directed pheromone trails and strength.
