|
A
simple function is used to determine movement. Basically it adds up the
4 directions it can move (north, south, east, west) (5+5+5+5) and calculates
the probability it should move to each one. In this case all directions
have a 5/20 or 1/4 chance to be moved to. Let's say the bacterium moves
north and finds a food. It evokes a response like "memory for that
location +4 and previous location + 2". Now its memory and world
have changed:
Now the place where the bacterium found food has a 9 priority. Note the previous spot also received a +2 priority. If the bacterium had gone west rather than north in the beginning, it would have encountered a poison. Negative reactions would have been expressed at that location and perhaps at the pervious location as well depending on the user defines preferences.
Now
assume that bacterium explores some more and returns to it's original
spot. The picture to the left is what the bacterium "sees".
Now when the movement function is called, (9+5+5+5) the total is 24. This
means that the probability of going north again is 9/24 and the other
3 directions are 5/24. This means the bacterium is more likely to go north
and get the food (assuming it has "grown" back) that go to an
unexplored area. The bacterium can also increment it's previous location's priority if the one it moved to has a high priority. This way, safe paths are developed between food sources (and areas of high food density) and the more it uses them, the stronger the reinforcement. Some additional things that make it interesting: The whole simulation revolves around energy. Food supplies energy while poison consumes it. Every move the bacterium makes, it expends energy. The whole point of the simulation is for the bacterium to survive. Food and Poisons are randomly placed in the beginning and grow back at user specified rates (default is around 5 turns). All of the simulations variables are editable via a preference file. For example, users can modify reactions to food, poison, even neutral spots. Users can turn off graphics and run thousands of turns very quickly to test different reactions or combinations of reactions.
.
Go
to Home Page
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| © 1997-2007 - Read the software agreement - chris@charrison.net |