This is the page for Group 1: Jeff Liu & Hua Cai
- To get a copy: Get from /users/jeffliu/Project1/AntPheromones3/guirun.sh
- Run without eclipse: /users/jeffliu/Project1/AntPheromones3/guirun.sh &
Example Runs
- Scenario 1 - Base case (run at default value setting)
$ /users/jeffliu/Project1/AntPheromones3/guirun.sh &
In this scenario, ants drop a lot of pheromone the moment they pick up food and only a little (5% the max amount) on their way back to the nest. It shows that both the distance of food pile from nest and size of the food pile affect how fast ants can find each pile and how long it takes ants to finish moving the entire pile. The closer the pile is to the nest and the bigger it is, the easier for ants to find it. Although ants will pick up food from all three piles initially, ants will finish moving the closest pile first and then go to the next closest one. Similar phenomenon is observed in the NetLogo program as well. We see that there are some issues with clumping around the nest. It takes about 8500 steps to clear all the food pieces.
- Scenario 2 - Only drop pheromone at food pile
$ /users/jeffliu/Project1/AntPheromones3/guirun.sh antDR=0 eR=0.99 &
In this special case, the ants only drop pheromone when they pick up food. This turns out to be very efficient, and they are able to clear all three piles in ~3700 steps.
- Scenario 3 - Food pile near “edge” of the world
$ /users/jeffliu/Project1/AntPheromones3/guirun.sh fX2=90 &
Because the ants live in a torus world, ants will find the food from the “back” if the pile is near the “edge”.