com.rubecula.darwin.examples.pepperedmoth
Class FitnessEngine_PepperedMoth

java.lang.Object
  extended by com.rubecula.darwin.domain.fitness.FitnessEngine_
      extended by com.rubecula.darwin.examples.pepperedmoth.FitnessEngine_PepperedMoth
All Implemented Interfaces:
CacheSignature, FitnessEngine, FunctionListener, HasExpressions

public final class FitnessEngine_PepperedMoth
extends FitnessEngine_

Fitness engine for the peppered moth.

Author:
Robin Hillyard

Field Summary
 
Fields inherited from class com.rubecula.darwin.domain.fitness.FitnessEngine_
LOG
 
Constructor Summary
FitnessEngine_PepperedMoth()
          Public secondary constructor.
FitnessEngine_PepperedMoth(com.rubecula.jexpression.Evaluator evaluator)
          Public primary constructor.
FitnessEngine_PepperedMoth(com.rubecula.jexpression.Evaluator evaluator, Realm realm)
          Public primary constructor.
FitnessEngine_PepperedMoth(Realm realm)
          Public primary constructor.
 
Method Summary
protected  void registerFitnesses(com.rubecula.jexpression.Evaluator evaluator)
           
 
Methods inherited from class com.rubecula.darwin.domain.fitness.FitnessEngine_
calculateFitness, countFitnesses, equals, fitnessKeys, getExpressions, getFitness, getFitnesses, getRealm, getSignature, hashCode, onEnvironmentChange, onFunctionChange, putFitness, setFitnessAdjustment, setFitnessCache, toString, unregisterFitness
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FitnessEngine_PepperedMoth

public FitnessEngine_PepperedMoth()
Public secondary constructor. Invoke #FitnessEngine_ constructor.


FitnessEngine_PepperedMoth

public FitnessEngine_PepperedMoth(com.rubecula.jexpression.Evaluator evaluator)
Public primary constructor. Invoke super-constructor.

Parameters:
evaluator -

FitnessEngine_PepperedMoth

public FitnessEngine_PepperedMoth(com.rubecula.jexpression.Evaluator evaluator,
                                  Realm realm)
Public primary constructor. Invoke super-constructor.

Parameters:
evaluator -
realm - XXX

FitnessEngine_PepperedMoth

public FitnessEngine_PepperedMoth(Realm realm)
Public primary constructor. Invoke super-constructor.

Parameters:
realm - XXX
Method Detail

registerFitnesses

protected void registerFitnesses(com.rubecula.jexpression.Evaluator evaluator)
Specified by:
registerFitnesses in class FitnessEngine_
Parameters:
evaluator - the evaluator (or null) for the fitness function


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.