How to use the GP applet:
- Using the board:
- You can define the starting cell by clicking on it. Then you will see
how your robot moves from this cell until "stopping" or until
returning to the same cell
- If you want you can "build" your own world. Just press the
"Build a new world" button and click on the board to
put/remove wall blocks
- If you want to modify the dimensions of the world (default 10x10) then
go to the Parameters tab and change the corresponding variables. Then
come back to the Front Panel and press the "Build a new world"
- You can select to see only some of the three robots (father, mother, best
robot) by selecting the boxes. If a robot is a result of a mutation it only
has a father (the non-mutated version) and not a mother
- The maximum fitness is a graph displaying the fitness of the best robot in
a generation. Since the fitness measurement is probabilitistic, sometimes it
decreases even though we have used "elitism". You can change the
parameters for the evalutation of the fitness from the Parameters. If you
increase the rounds then the robot "takes" the "wall
touching" test more times, starting from a random cell each time. If
you change the steps, then we let the robot make this number of movements
before stopping the evalutation for the round. Increased values result
better evaluation, but slows down the evolution.
- The predicate & action complexity parameters define how
"complex" the predicate and the action of the initial generations
will be. The more complex robots have larger "subtrees" in
the "predicate" and "action" fields.
- After changing the parameters, you have to start a new generation for the
changes to take place.