EMERGENT BEHAVIOR

Two applet demonstrations of emergent behavior are provided below. The first is the classical (?) ants simulation and the second is a variant thereof which I designed.

A Win32 (PC) application, "Anagram", that involves agents and flocking behavior in a multi-agent system is available for download here.

 


Ant Simulation

The ant simulation is based upon the concept of having multiple entities that behave to a common set of rules, i.e., each ant's behavior is driven by the environment and the rules common to all ants. These rules, which approximate real ants and are programmed in this example, are: These behavioral rules produce the ant-trail like behavior we have all seen.

When running the example, after the screen appears, click anywhere to drop the "FOOD". Then press the "Start" button and watch the show. Ant Demonstration.


Letter Movers

The letter movers simulation is a variation on the ant simulation. In this simulation an ant field is shown with the letters A, B and C on it. The user moves the letters around on the screen then starts the simulation. The ants will move the latters back to their original locations.

The letter mover ants have a behavior similar to the conventional ants except that instead of taking the letters to the ant hole, they move their pieces a fixed x,y distance needed to return the letters to their origins.

When running this example, after the screen appears follow the instructions there upon. Letter Mover Demonstration.