Saturday, December 20, 2008

A.I. - Autonomous Agent - Ants Simulation

This is my research project for my A.I. class. The program simulates a colony of ants attempting to find a food source via collective intelligence.

These ants emit trace signals that other ants will follow. Once the ants find the food source, the ants follows the trails back to the nest. As the number of ants traveling along the same trail increases, so does the amount of signals, which in term causes more ants to go along the same path.

In essense, these autonomous agents follow 3 simple rules for their actions:

  1. Follow trace signal attempting to find food sources.
  2. Return to nest when food is found.
  3. Tell other lost ants the general directions of either "food" or "nest."

These "antbots" can only perform simple actions based limited environmental factors, but together as a colony they are able to find food sources quite efficiently.

Highlights:
  • Autonomous agent system.