|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rubecula.darwin.domain.fitness.FitnessFunction_Math
public class FitnessFunction_Math
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.
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 |
---|
@Deprecated public FitnessFunction_Math()
Method Detail |
---|
public double getFitness(double value, double target, double factor)
getFitness
in interface FitnessFunction
value
- the variate valuetarget
- 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).
value
given a continuous distribution with ideal
value: target
and shape factor: factor
.FitnessFunction.getFitness(double,
double, double)
public java.lang.String getIdentifier()
getIdentifier
in interface net.sf.tostring0.Identifiable
Identifiable.getIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |