com.rubecula.darwin.domain.fitness
Class FitnessFunction_PseudoPoisson

java.lang.Object
  extended by com.rubecula.darwin.foundation.Function_
      extended by com.rubecula.darwin.domain.fitness.FitnessFunction_
          extended by com.rubecula.darwin.domain.fitness.FitnessFunction_PseudoPoisson
All Implemented Interfaces:
FitnessFunction, Function, com.rubecula.jexpression.EvalExpression, com.rubecula.jexpression.EvalExpressionMutable, com.rubecula.jexpression.Valuable, net.sf.tostring0.Identifiable

public class FitnessFunction_PseudoPoisson
extends FitnessFunction_

Author:
Robin Hillyard

Field Summary
 
Fields inherited from class com.rubecula.darwin.foundation.Function_
evaluator, LOG
 
Fields inherited from interface com.rubecula.darwin.domain.helper.FitnessFunction
PREFIX_VAR_RPN, VAR_SHAPE_FACTOR, VAR_TARGET, VAR_VALUE
 
Constructor Summary
FitnessFunction_PseudoPoisson()
           
FitnessFunction_PseudoPoisson(com.rubecula.jexpression.Evaluator evaluator)
           
 
Method Summary
 java.lang.String getIdentifier()
           
protected  double standardFunction(java.lang.Object... arguments)
           
protected  java.lang.CharSequence[] standardFunctionTokens(com.rubecula.jexpression.Notation notation)
           
 
Methods inherited from class com.rubecula.darwin.domain.fitness.FitnessFunction_
getFitness
 
Methods inherited from class com.rubecula.darwin.foundation.Function_
addListener, addSymbol, equals, evaluate, getErrorInfo, getEvaluator, getExpression, getExpressionMap, getExpressionTerms, getValue, hashCode, isDifferent, isMutable, normalDistributionDensityFunction, normalDistributionDensityFunctionScaled, onFunctionChange, removeVariable, reset, setEvaluator, setExpression, setExpression
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitnessFunction_PseudoPoisson

public FitnessFunction_PseudoPoisson()

FitnessFunction_PseudoPoisson

public FitnessFunction_PseudoPoisson(com.rubecula.jexpression.Evaluator evaluator)
Parameters:
evaluator -
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Returns:
ID_CLASS
See Also:
Identifiable.getIdentifier()

standardFunction

protected double standardFunction(java.lang.Object... arguments)
                           throws FunctionException
Specified by:
standardFunction in class Function_
Parameters:
arguments - a variable set of Objects which must be passed to the actual implemented version of Function_.standardFunction(Object...).
Returns:
the standard value for this function. This is called when Function_.isDifferent() returns false.
Throws:
FunctionException - XXX
See Also:
Function_.standardFunction(java.lang.Object[])

standardFunctionTokens

protected java.lang.CharSequence[] standardFunctionTokens(com.rubecula.jexpression.Notation notation)
Specified by:
standardFunctionTokens in class Function_
Parameters:
notation - the notation type used by the evaluator.
Returns:
the sequence of tokens that corresponds to the Function_.standardFunction(Object...). This is called by Function_.reset().
See Also:
Function_.standardFunctionTokens(Notation)


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