FitnessEvaluation.Canvas
Class Paint

java.lang.Object
  extended by FitnessEvaluation.Canvas.Paint
All Implemented Interfaces:
FitnessFunction, ParameterI

public class Paint
extends java.lang.Object
implements FitnessFunction

Author:
eliott bartley

Constructor Summary
Paint()
           
 
Method Summary
 boolean canCache()
          Return true if it is ok to cache the results of the fitness function
 void getFitness(Individual i)
          Creates a new instance of FitnessEvaluator
 void setProperties(java.util.Properties p)
          Set properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Paint

public Paint()
Method Detail

setProperties

public void setProperties(java.util.Properties p)
Description copied from interface: ParameterI
Set properties

Specified by:
setProperties in interface ParameterI
Parameters:
p - object containing properties

getFitness

public void getFitness(Individual i)
Description copied from interface: FitnessFunction
Creates a new instance of FitnessEvaluator

Specified by:
getFitness in interface FitnessFunction
Parameters:
i - Evaluated individual

canCache

public boolean canCache()
Description copied from interface: FitnessFunction
Return true if it is ok to cache the results of the fitness function

Specified by:
canCache in interface FitnessFunction