Class 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

Constructor Summary
PessimisticFitnessFunction(FitnessFunction inFF)
          Creates a new instance of PessimisticSumFitnessFunction
Method Summary
 double getFitness(SampleData[] ins, SampleData[] Q, SampleData[] desQ, double tSetup)
 java.lang.String toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public PessimisticFitnessFunction(FitnessFunction inFF)
Creates a new instance of PessimisticSumFitnessFunction
Method Detail


public double getFitness(SampleData[] ins,
                         SampleData[] Q,
                         SampleData[] desQ,
                         double tSetup)
Specified by:
getFitness in interface FitnessFunction


public java.lang.String toString()
toString in class java.lang.Object