Package de.learnlib.acex
Class AbstractBaseCounterexample<E>
- java.lang.Object
-
- de.learnlib.acex.AbstractBaseCounterexample<E>
-
- All Implemented Interfaces:
AbstractCounterexample<E>
- Direct Known Subclasses:
ClassicPrefixTransformAcex,KearnsVaziraniDFA.KVAbstractCounterexample,KearnsVaziraniMealy.KVAbstractCounterexample,OPLearnerVPA.PrefixTransformAcex,OutInconsPrefixTransformAcex
public abstract class AbstractBaseCounterexample<E> extends Object implements AbstractCounterexample<E>
-
-
Constructor Summary
Constructors Constructor Description AbstractBaseCounterexample(int m)Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract EcomputeEffect(int index)Eeffect(int index)intgetLength()Retrieves the length of the abstract counterexample.voidsetEffect(int index, E effect)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.learnlib.acex.AbstractCounterexample
checkEffects, testEffects
-
-
-
-
Method Detail
-
getLength
public int getLength()
Retrieves the length of the abstract counterexample.- Specified by:
getLengthin interfaceAbstractCounterexample<E>- Returns:
- the length of the counterexample
-
effect
public E effect(int index)
- Specified by:
effectin interfaceAbstractCounterexample<E>
-
computeEffect
protected abstract E computeEffect(int index)
-
setEffect
public void setEffect(@UnknownInitialization(AbstractBaseCounterexample.class) AbstractBaseCounterexample<E> this, int index, E effect)
-
-