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
controlAntControl.form
AntControl.java
event
EnterNestAntEvent.java
AliveAntEvent.java
AntEvent.java
AntListener.java
PickedUpFoodAntEvent.java
ExitNestAntEvent.java
FoodUpdateEvent.java
NewAntEvent.java
Food.java
Ant.java
MyObjectInterface.java
AntSimulator.java
FoodCluster.java
Grid.java
GridSquare.java
GridVector.java
MyObject.java
Obstacle.java
Nest.java
PheromoneParticle.java
Pheromone.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.
