|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgap.gp.GPFitnessFunction
examples.gp.KarubProblem.FormulaFitnessFunction
public static class KarubProblem.FormulaFitnessFunction
Field Summary |
---|
Fields inherited from class org.jgap.gp.GPFitnessFunction |
---|
MAX_FITNESS_VALUE, NO_FITNESS_VALUE |
Constructor Summary | |
---|---|
KarubProblem.FormulaFitnessFunction()
|
Method Summary | |
---|---|
protected double |
evaluate(IGPProgram ind)
Determine the fitness of the given GPProgram instance. |
Methods inherited from class org.jgap.gp.GPFitnessFunction |
---|
getFitnessValue, getLastComputedFitnessValue, GPFitnessFunction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KarubProblem.FormulaFitnessFunction()
Method Detail |
---|
protected double evaluate(IGPProgram ind)
GPFitnessFunction
evaluate
in class GPFitnessFunction
ind
- the GPProgram instance to evaluate
|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |