| java.lang.Object org.jgap.gp.CommandGene examples.gp.tictactoe.IfColor
IfColor | public class IfColor extends CommandGene implements ICloneable(Code) | | The if-then construct. If-Condition is: if specific color, then
execute X else do nothing.
author: Klaus Meffert since: 3.2 |
getChildType | public Class getChildType(IGPProgram a_ind, int a_chromNum)(Code) | | Determines which type a specific child of this command has.
Parameters: a_ind - ignored here Parameters: a_chromNum - index of child type of the a_chromNum'th child author: Klaus Meffert since: 3.2 |
getName | public String getName()(Code) | | textual name of this command author: Klaus Meffert since: 3.2 |
Methods inherited from org.jgap.gp.CommandGene | protected void check(ProgramChromosome a_program)(Code)(Java Doc) protected void check(ProgramChromosome a_program, int a_index)(Code)(Java Doc) public void cleanup()(Code)(Java Doc) public int compareTo(Object a_other)(Code)(Java Doc) public void ensureUniqueness(ProgramChromosome a_program)(Code)(Java Doc) public boolean equals(Object a_other)(Code)(Java Doc) public Object execute(ProgramChromosome c, int n, Object[] args)(Code)(Java Doc) public boolean execute_boolean(ProgramChromosome c, int n, Object[] args)(Code)(Java Doc) public double execute_double(ProgramChromosome c, int n, Object[] args)(Code)(Java Doc) public float execute_float(ProgramChromosome c, int n, Object[] args)(Code)(Java Doc) public int execute_int(ProgramChromosome c, int n, Object[] args)(Code)(Java Doc) public long execute_long(ProgramChromosome c, int n, Object[] args)(Code)(Java Doc) public Object execute_object(ProgramChromosome c, int n, Object[] args)(Code)(Java Doc) public void execute_void(ProgramChromosome c, int n, Object[] args)(Code)(Java Doc) public Object getAllele()(Code)(Java Doc) public Object getApplicationData()(Code)(Java Doc) public int getArity(IGPProgram a_indvividual)(Code)(Java Doc) public Class getChildType(IGPProgram a_ind, int a_chromNum)(Code)(Java Doc) public double getEnergy()(Code)(Java Doc) public GPConfiguration getGPConfiguration()(Code)(Java Doc) protected Object getInternalValue()(Code)(Java Doc) public String getName()(Code)(Java Doc) public String getPersistentRepresentation()(Code)(Java Doc) protected String getPersistentRepresentationExt()(Code)(Java Doc) public Class getReturnType()(Code)(Java Doc) public int getSubChildType(int a_childNum)(Code)(Java Doc) protected int[] getSubChildTypes()(Code)(Java Doc) public int getSubReturnType()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) protected void init()(Code)(Java Doc) public boolean isAffectGlobalState()(Code)(Java Doc) public boolean isCompareApplicationData()(Code)(Java Doc) public boolean isFloatType()(Code)(Java Doc) public boolean isIntegerType()(Code)(Java Doc) public boolean isValid(ProgramChromosome a_program)(Code)(Java Doc) public boolean isValid(ProgramChromosome a_program, int a_index)(Code)(Java Doc) public void setAllele(Object a_newValue)(Code)(Java Doc) public void setApplicationData(Object a_newData)(Code)(Java Doc) public void setCompareApplicationData(boolean a_doCompare)(Code)(Java Doc) public void setEnergy(double a_energy)(Code)(Java Doc) public void setNoValidation(boolean a_noValidation)(Code)(Java Doc) public void setReturnType(Class a_type)(Code)(Java Doc) public void setToRandomValue(RandomGenerator a_numberGenerator)(Code)(Java Doc) public void setValueFromPersistentRepresentation(String a_representation) throws UnsupportedRepresentationException(Code)(Java Doc) protected void setValueFromString(int a_index, String a_value)(Code)(Java Doc) public int size()(Code)(Java Doc) abstract public String toString()(Code)(Java Doc)
|
|
|