|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.artoflife.gp.genome.GpTreeNode | +--org.artoflife.gp.genome.FunctionGene | +--org.artoflife.gp.genome.bool.ComparisonGene | +--org.artoflife.gp.genome.bool.EqualsGene
True if float parameters are equal (within a preset precision).
Field Summary |
Fields inherited from class org.artoflife.gp.genome.FunctionGene |
parameterGenes |
Constructor Summary | |
EqualsGene()
|
Method Summary | |
protected boolean |
evaluateFor(float parameter1,
float parameter2)
Override this to evaluate the function across the parameters passed in. |
Methods inherited from class org.artoflife.gp.genome.bool.ComparisonGene |
evaluate, getParameterClasses, getReturnClass |
Methods inherited from class org.artoflife.gp.genome.FunctionGene |
clone, evaluate, getBooleanParameter, getDoubleParameter, getFloatParameter, getMutators, getParameterGene, initParameterGenes, setParameterGene, toString |
Methods inherited from class org.artoflife.gp.genome.GpTreeNode |
getParameterClass, getParametersLength, getSize, mutate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EqualsGene()
Method Detail |
protected boolean evaluateFor(float parameter1, float parameter2)
ComparisonGene
evaluateFor
in class ComparisonGene
ComparisonGene.evaluateFor(float, float)
|
artoflife pre0.1.0-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |