|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgap.gp.GPProblem
examples.gp.paintedDesert.PaintedDesertProblem
public class PaintedDesertProblem
The Painted Desert problem from Koza's "Evolution of Emergent Cooperative Behavior using Genetic Programming". The problem is to create the same genetic program for a group of ants that will move three colors of sand into columns of like sand.
| Constructor Summary | |
|---|---|
PaintedDesertProblem(GPConfiguration a_conf)
Creates the Painted Desert Problem using the GPConfiguration. |
|
| Method Summary | |
|---|---|
GPGenotype |
create()
Sets up the functions to use and other parameters. |
static void |
main(java.lang.String[] args)
Runs the Painted Desert Problem |
void |
resetAnts()
Resets the ants to initial positions. |
| Methods inherited from class org.jgap.gp.GPProblem |
|---|
createTree, getGPConfiguration, setGPConfiguration, showTree, showTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PaintedDesertProblem(GPConfiguration a_conf)
throws InvalidConfigurationException
a_conf - the GP configuration
InvalidConfigurationException| Method Detail |
|---|
public GPGenotype create()
throws InvalidConfigurationException
create in class GPProblemInvalidConfigurationExceptionpublic static void main(java.lang.String[] args)
args - The location of the ant map file is optional
java.lang.Exceptionpublic void resetAnts()
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||