|
JGAP | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Class Summary | |
|---|---|
| Ant | Represents the Ant. |
| AntCommand | Abstract base class for GP-commands related to the ant painted desert problem. |
| AntMap | Holds the map of the painted desert sand locations |
| Carrying | Terminal function to identify the sand, if any, the ant is carrying. |
| Drop | Drops the sand at the current ants location |
| GO_E | Moves the ant to the right. |
| GO_N | Takes a step to the north or positive y direction. |
| GO_S | Moves the ant to the south or negative y direction |
| GO_W | Moves the ant to the west or negative x direction. |
| IfDrop | A two argument if-then function. |
| IfLessThanOrEqual | A four argument version of if-less-than-or-equal (IFLTE) construct. |
| IfLessThanZero | A three argument version of if-less-than-zero (IFLTZ) construct. |
| LoopUntil | A loop until the condition of the first argument is true. |
| MayDropSand | Identifies that the ant may drop sand at the current position. |
| MayPickUp | Identifies that the ant may pick up sand at the current position |
| MoveRandom | Randomly moves the ant one square. |
| PaintedDesertProblem | The Painted Desert problem from Koza's "Evolution of Emergent Cooperative Behavior using Genetic Programming". |
| Pickup | Picks up any sand at the current location and returns the sand color at the current location. |
| SandAtLocation | |
| SandBelongsHere | |
| SandColor | Returns the color of the sand at the current position. |
| X | Look ahead, right and left (in this order) and turns to food in case such was detected. |
| Y | Look ahead, right and left (in this order) and turns to food in case such was detected. |
The painted desert example (Genetic Programming) from Koza
|
JGAP | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||