|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgap.FitnessFunction
examples.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.FitnessFunction |
|---|
DELTA, NO_FITNESS_VALUE |
| Method Summary | |
|---|---|
protected double |
evaluate(IChromosome a_chromosome)
Determine the fitness of the given Chromosome instance. |
| Methods inherited from class org.jgap.FitnessFunction |
|---|
clone, getFitnessValue, getLastComputedFitnessValue |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected double evaluate(IChromosome a_chromosome)
FitnessFunction
evaluate in class FitnessFunctiona_chromosome - the Chromosome instance to evaluate
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||