|
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.Drop
public class Drop
Drops the sand at the current ants 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 | |
|---|---|
Drop(GPConfiguration a_conf)
Drops the sand at the current location |
|
| Method Summary | |
|---|---|
int |
execute_int(ProgramChromosome a_chrom,
int a_n,
java.lang.Object[] a_args)
returns the sand color that the ant dropped |
java.lang.String |
toString()
Program listing name |
| 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 Drop(GPConfiguration a_conf)
throws InvalidConfigurationException
a_conf - the configuration to use
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 | ||||||||