|
JGAP | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Class Summary | |
|---|---|
| AntCommand | Abstract base class for GP-commands related to the ant trail problem. |
| AntMap | Holds the map of the ant trail. |
| AntTrailProblem | The ant trail problem. |
| AntTreeBranchRenderer | Renders the branches' colors of a tree to display. |
| AntTreeNodeRenderer | Renders the nodes' colors of a tree to display. |
| IfFoodAheadElse | If food-ahead then execute |
| IfFoodAheadLeft | If food-ahead to the left then execute |
| IfFoodAheadRight | If food-ahead to the right then execute |
| Left | Turn the ant left. |
| Move | Move the ant. |
| Right | Turn the ant right. |
| TurnToFood | Look ahead, right and left (in this order) and turns to food in case such was detected. |
Demonstrates how to move an ant by picking as much food as possible
|
JGAP | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||