jaga.experiment
Class  SimpleCorrelationFitnessFunction
java.lang.Object
  |
  +--jaga.experiment.SimpleCorrelationFitnessFunction
- All Implemented Interfaces: 
- FitnessFunction, java.io.Serializable
- public class SimpleCorrelationFitnessFunction- extends java.lang.Object- implements FitnessFunction
A variant of the CorrelationFitnessFunction, it requires less computation.  It uses only
 discreet multiplication and substraction.
- See Also: 
- Serialized Form
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
SimpleCorrelationFitnessFunction
public SimpleCorrelationFitnessFunction(double invPenalty)
- A value of 0 for invPenalty gives 0 fitness for inverse correlation, a value of -1 gives 1 fitness for inverse correlation
SimpleCorrelationFitnessFunction
public SimpleCorrelationFitnessFunction()
- Creates a new instance of CorrelationFitnessFunction
getFitness
public double getFitness(SampleData[] ins,
                         SampleData[] Q,
                         SampleData[] desQ,
                         double tSetup)
- 
- Specified by: 
- getFitnessin interface- FitnessFunction
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object