com.rubecula.darwin.domain.fitness
Class FitnessEngine_Simple

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

public final class FitnessEngine_Simple
extends FitnessEngine_

Default implementation of FitnessEngine interface. There are no fitnesses registered in this engine after construction. In order for the engine to be used, at least one fitness pair must be registered.

Author:
Robin Hillyard

Field Summary
 
Fields inherited from class com.rubecula.darwin.domain.fitness.FitnessEngine_
LOG
 
Constructor Summary
FitnessEngine_Simple()
           
 
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_Simple

public FitnessEngine_Simple()
Method Detail

registerFitnesses

protected void registerFitnesses(com.rubecula.jexpression.Evaluator evaluator)
Specified by:
registerFitnesses in class FitnessEngine_
See Also:
FitnessEngine_.registerFitnesses(com.rubecula.jexpression.Evaluator)


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