|
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.MayPickUp
public class MayPickUp
Identifies that the ant may pick up sand at the current position
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 | |
---|---|
MayPickUp(GPConfiguration a_conf)
Constructor for the may pick up sand function |
Method Summary | |
---|---|
boolean |
execute_boolean(ProgramChromosome a_chrom,
int a_n,
java.lang.Object[] a_args)
Executes the may pick up sand for a boolean argument. |
java.lang.String |
toString()
Returns the 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 MayPickUp(GPConfiguration a_conf) throws InvalidConfigurationException
a_conf
-
InvalidConfigurationException
Method Detail |
---|
public boolean execute_boolean(ProgramChromosome a_chrom, int a_n, java.lang.Object[] a_args)
execute_boolean
in class CommandGene
a_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 |