jeco.dmm.sim2.lib
Class Fitness

java.lang.Object
  extended by jeco.dmm.sim2.lib.Fitness
All Implemented Interfaces:
FitnessEvaluation.FitnessFunction, Parameter.ParameterI

public class Fitness
extends java.lang.Object
implements FitnessEvaluation.FitnessFunction


Field Summary
static java.util.HashMap<java.lang.String,java.lang.Double> evaluated
           
static double globalOptimum
           
static ProfilingReport profilingReport
           
 
Constructor Summary
Fitness()
           
 
Method Summary
 boolean canCache()
           
 double evaluate(Individuals.Phenotype phenotype)
           
 void getFitness(Individuals.Individual individual)
           
 void setProperties(java.util.Properties p)
           
 java.lang.String toStringPhenotype(Individuals.Phenotype phenotype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

globalOptimum

public static double globalOptimum

evaluated

public static java.util.HashMap<java.lang.String,java.lang.Double> evaluated

profilingReport

public static ProfilingReport profilingReport
Constructor Detail

Fitness

public Fitness()
Method Detail

evaluate

public double evaluate(Individuals.Phenotype phenotype)

getFitness

public void getFitness(Individuals.Individual individual)
Specified by:
getFitness in interface FitnessEvaluation.FitnessFunction

canCache

public boolean canCache()
Specified by:
canCache in interface FitnessEvaluation.FitnessFunction

toStringPhenotype

public java.lang.String toStringPhenotype(Individuals.Phenotype phenotype)

setProperties

public void setProperties(java.util.Properties p)
Specified by:
setProperties in interface Parameter.ParameterI