Last Modified: $Date: 2002/02/09 14:05:34 $ by $Author: ferret $


Food Map Editor

What we eat is what we are

Foods represent what worms know. As explain on the worm's page, worms have a DNA that express there moves. A move is the result of what can be seen by a worm.

If a worm does not know what is food 'A' then it won't see it and move in its direction.

If a worm knows food ('A',15) and food ('B',30) it will try to go first on food 'B' (since it has more value) otherwise it will try food 'A'.
In fact at the begining worms know food's type ('A' or 'B' for example) but they do not known that 'B' is better than 'A'. At the end of the experiment worms should still know 'A' and 'B' but they should also be aware of the fact that eating 'B' will give them mutch more energy than eating 'A'.

The food map editor will let you edit/create/delete foods used during the simulation. You can create lots of foods (~50 types), but keep in mind that:

Food Map Editor

Food Map Editor Load a saved Food Map Save the current food map Save current food map with a given name Create a new Food Edit the selected Food Delete the selected Food All foods Validate Changes Unvalidate Changes Show Help
Click on the picture for more information

All Food

This list represents all foods that are in your current Food Map.
Foods are resumed here, you can see their name inside the colored square, and their color witch is the same as the square, Their energetic value is just after their type definition.
A double click on a food will popup the food editor.
If you want to delete a food you can press the Suppr key, or simply press the Delete button.

Ok

Pressing this button will validate the current Food Map, and will design it as the food map to use for the current simulation.
This Food Map will aslo be used for the creation of worms and for the edition of the Life Room.

Cancel

Pressing this button will unvalidate what you have done. It will be just as if you did nothing.

Help

Will popup this help page.

Load (Load a Food Map)

You will be able to load a saved Food Map. The old food map will be replaced by the loaded one.
If a problem occured during loading then an error message will popup and the old Food Map will stay unchanged.
Loadable Food Map are XML files, see the XML specification for more information.

Save (Save a Food Map)

You will be able to save the current Food Map.
If a problem occured during saving then an error message will popup.
If the current Food Map as no name, then a you will be asked a name before saving the file.
Food Map will be written as XML file, see the XML specification for more information.

Save As (Save a Food Map As)

You will be able to save the current Food Map with a specific name.
If a problem occured during saving then an error message will popup.
Before saving the Food Map you will be asked a file name.
Food Map will be written as XML file, see the XML specification for more information.

Create a new Food (Create a new Food)

You will be able to create/add a new customised food to your current food map.
A new Window will popup:
Food Editor Select the name of your food Select the color of your food Select the energetic value of your food Validate changes Unvalidate changes Shows the help page
There are some restrictions: Press the Ok button if you want to add this food to your food map, or press the Cancel button if you do not want to add this food to your food map.

Edit the selected Food (Edit the selected Food)

Select a Food in the list and double click on it or simply press the edit button will let you edit the selected food.
A new Window will popup:
Food Editor
Press the Ok button if you want to validate your changes, or press the Cancel button if you do not want to validate your changes.

Delete the selected Food (Delete the selected Food)

Select a Food in the list and press the Suppr key or simply press the delete button will let you delete the selected food.