|
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.monalisa.core.LMSFitnessFunction
public class LMSFitnessFunction
Computes the fitness of a program as the Least-Mean-Sqare distance between the image it generates and the target image.
Field Summary |
---|
Fields inherited from class org.jgap.gp.GPFitnessFunction |
---|
MAX_FITNESS_VALUE, NO_FITNESS_VALUE |
Method Summary | |
---|---|
protected double |
evaluate(IGPProgram a_subject)
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 |
Method Detail |
---|
protected double evaluate(IGPProgram a_subject)
GPFitnessFunction
evaluate
in class GPFitnessFunction
a_subject
- the GPProgram instance to evaluate
|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |