com.rubecula.darwin.domain.fitness
Class FitnessFunction_Math

java.lang.Object
  extended by com.rubecula.darwin.domain.fitness.FitnessFunction_Math
All Implemented Interfaces:
FitnessFunction, net.sf.tostring0.Identifiable

public class FitnessFunction_Math
extends java.lang.Object
implements FitnessFunction

TODO This type is obsolete (never referenced) and appears to be in the wrong place. This type has an explicit dependency on the Apache Commons Math Project.

Author:
Robin Hillyard

Field Summary
 
Fields inherited from interface com.rubecula.darwin.domain.helper.FitnessFunction
PREFIX_VAR_RPN, VAR_SHAPE_FACTOR, VAR_TARGET, VAR_VALUE
 
Constructor Summary
FitnessFunction_Math()
          Deprecated. 
 
Method Summary
 double getFitness(double value, double target, double factor)
          XXX
 java.lang.String getIdentifier()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitnessFunction_Math

@Deprecated
public FitnessFunction_Math()
Deprecated. 

Method Detail

getFitness

public double getFitness(double value,
                         double target,
                         double factor)
XXX

Specified by:
getFitness in interface FitnessFunction
Parameters:
value - the variate value
target - the ideal value of the variate (typically the mean value for a normal distribution).
factor - a shape factor for the distribution (typically the standard deviation for a normal distribution).
Returns:
the probability density function for the variate value value given a continuous distribution with ideal value: target and shape factor: factor.
See Also:
FitnessFunction.getFitness(double, double, double)

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in interface net.sf.tostring0.Identifiable
Returns:
"FitnessFunction_Math"
See Also:
Identifiable.getIdentifier()


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