FitnessEvaluation.LSystem
Class LSystemDimension

java.lang.Object
  extended by FitnessEvaluation.LSystem.LSystemDimension
All Implemented Interfaces:
FitnessFunction, ParameterI

public class LSystemDimension
extends java.lang.Object
implements FitnessFunction

A fitness which tends towards a specified fractal dimension

Author:
eliott bartley

Constructor Summary
LSystemDimension()
           
 
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

LSystemDimension

public LSystemDimension()
Method Detail

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

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