jaga.experiment
Class PessimisticFitnessFunction
java.lang.Object
|
+--jaga.experiment.PessimisticFitnessFunction
- All Implemented Interfaces:
- FitnessFunction, java.io.Serializable
- public class PessimisticFitnessFunction
- extends java.lang.Object
- implements FitnessFunction
If a test pattern of length TP is applied containing only V unique test vectors, then this
fitness function (FF) wrapper will provide a test pattern of length V to its internal FF with
a 1 where an output was equal to the desired at every application of the current test vector and
a 0 if at any application of that vector it was different.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PessimisticFitnessFunction
public PessimisticFitnessFunction(FitnessFunction inFF)
- Creates a new instance of PessimisticSumFitnessFunction
getFitness
public double getFitness(SampleData[] ins,
SampleData[] Q,
SampleData[] desQ,
double tSetup)
- Specified by:
getFitness
in interface FitnessFunction
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object