gov.nasa.javaGenes.core
Class FitnessFunctionWorstFitnessManyTries
java.lang.Object
gov.nasa.javaGenes.core.FitnessFunction
gov.nasa.javaGenes.core.FitnessFunctionWorstFitness
gov.nasa.javaGenes.core.FitnessFunctionWorstFitnessManyTries
- All Implemented Interfaces:
- java.io.Serializable
- public class FitnessFunctionWorstFitnessManyTries
- extends FitnessFunctionWorstFitness
this fitness function will run another fitness function N times on variations of the Evolvable. Usually the variations
will be in the phenotype. The worst fitness of the variations will be the fitness of the Evolvable. This
version was devised specifically for antennas. It assumes the first evolvable variation is the original.
Antennas have the problem that some variations may be unsimulatable or violate physical constraints that
wouldn't happen in real manufacturing.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
maxVariationsNeeded
protected int maxVariationsNeeded
threshold
protected Fitness threshold
FitnessFunctionWorstFitnessManyTries
public FitnessFunctionWorstFitnessManyTries(int maxVariationsNeeded,
Fitness threshold,
FitnessFunction fitnessFunction,
PhenotypeChanger phenotypeChanger)
getWorst
protected Fitness getWorst(Evolvable[] allEvolvables,
Fitness[] forDebuging)
- Overrides:
getWorst
in class FitnessFunctionWorstFitness
toString
public java.lang.String toString()
- Overrides:
toString
in class FitnessFunctionWorstFitness