|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgap.gp.CommandGene
examples.gp.paintedDesert.AntCommand
examples.gp.paintedDesert.Pickup
public class Pickup
Picks up any sand at the current location and returns the sand color at the current location.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jgap.gp.CommandGene |
|---|
CommandGene.COMMAND_TYPE |
| Field Summary |
|---|
| Fields inherited from class org.jgap.gp.CommandGene |
|---|
BooleanClass, CharacterClass, DELTA, DoubleClass, FloatClass, IntegerClass, LongClass, nodeIndex, VoidClass |
| Constructor Summary | |
|---|---|
Pickup(GPConfiguration a_conf)
Constructor for the pickup sand function |
|
| Method Summary | |
|---|---|
int |
execute_int(ProgramChromosome a_chrom,
int a_n,
java.lang.Object[] a_args)
Executes the function for an integer argument |
java.lang.String |
toString()
Program listing anme for the function |
| Methods inherited from class examples.gp.paintedDesert.AntCommand |
|---|
getMap |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Pickup(GPConfiguration a_conf)
throws InvalidConfigurationException
InvalidConfigurationException| Method Detail |
|---|
public int execute_int(ProgramChromosome a_chrom,
int a_n,
java.lang.Object[] a_args)
execute_int in class CommandGenea_chrom - ignored herea_n - ignored herea_args - ignored here
public java.lang.String toString()
toString in class CommandGene
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||