|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.javaGenes.core.FitnessFunction
gov.nasa.javaGenes.core.FitnessFunctionMultiObjective
gov.nasa.javaGenes.core.FitnessFunctionMultiObjectiveToOne
gov.nasa.javaGenes.core.WeightedSumFitness
this fitness function is a weighted sum of fitness functions
Field Summary | |
protected boolean |
normalizeByWeight
|
Fields inherited from class gov.nasa.javaGenes.core.FitnessFunctionMultiObjective |
fitnessFunctions, weights |
Fields inherited from class gov.nasa.javaGenes.core.FitnessFunction |
name |
Constructor Summary | |
WeightedSumFitness()
|
|
WeightedSumFitness(boolean normalizeByWeight)
|
Method Summary | |
Fitness |
evaluateFitness(Evolvable evolvable)
|
void |
setNormalizeByWeight(boolean value)
|
Methods inherited from class gov.nasa.javaGenes.core.FitnessFunctionMultiObjectiveToOne |
getNameArray, numberOfObjectives |
Methods inherited from class gov.nasa.javaGenes.core.FitnessFunctionMultiObjective |
add, add, bestDouble, getFitnessFunction, getNewFitness, getWeight, makeFiles, toString, worstDouble |
Methods inherited from class gov.nasa.javaGenes.core.FitnessFunction |
getFunction, getName, isNewFunction, report, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected boolean normalizeByWeight
Constructor Detail |
public WeightedSumFitness()
public WeightedSumFitness(boolean normalizeByWeight)
Method Detail |
public Fitness evaluateFitness(Evolvable evolvable)
evaluateFitness
in class FitnessFunctionMultiObjective
public void setNormalizeByWeight(boolean value)
|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |