JGAP

Package examples.gp.anttrail

Demonstrates how to move an ant by picking as much food as possible

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 else execute .
IfFoodAheadLeft If food-ahead to the left then execute else execute .
IfFoodAheadRight If food-ahead to the right then execute else 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.
 

Package examples.gp.anttrail Description

Demonstrates how to move an ant by picking as much food as possible


JGAP