JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.core
Class FitnessFunctionRandom

java.lang.Object
  extended bygov.nasa.javaGenes.core.FitnessFunction
      extended bygov.nasa.javaGenes.core.FitnessFunctionRandom
All Implemented Interfaces:
java.io.Serializable

public class FitnessFunctionRandom
extends FitnessFunction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.javaGenes.core.FitnessFunction
name
 
Constructor Summary
FitnessFunctionRandom(DoubleInterval range)
           
 
Method Summary
 Fitness evaluateFitness(Evolvable evolvable)
           
 
Methods inherited from class gov.nasa.javaGenes.core.FitnessFunction
bestDouble, getFunction, getName, getNameArray, isNewFunction, makeFiles, numberOfObjectives, report, setName, worstDouble
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitnessFunctionRandom

public FitnessFunctionRandom(DoubleInterval range)
Method Detail

evaluateFitness

public Fitness evaluateFitness(Evolvable evolvable)
Specified by:
evaluateFitness in class FitnessFunction
Returns:
the fitness. Low values are fitter than high values.

JavaGenes, NASA Ames. Written largely by Al Globus