Class SimulatorEQOracle<I>
java.lang.Object
de.learnlib.oracle.equivalence.vpa.SimulatorEQOracle<I>
- All Implemented Interfaces:
EquivalenceOracle<OneSEVPA<?,I>, I, Boolean>
public class SimulatorEQOracle<I>
extends Object
implements EquivalenceOracle<OneSEVPA<?,I>,I,Boolean>
An equivalence oracle based on the computation of a separating word for a given hypothesis and a previously known
target system.
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.learnlib.oracle.EquivalenceOracle
EquivalenceOracle.DFAEquivalenceOracle<I>, EquivalenceOracle.MealyEquivalenceOracle<I,O>, EquivalenceOracle.MMLTEquivalenceOracle<I, O>, EquivalenceOracle.MooreEquivalenceOracle<I, O> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindCounterExample(OneSEVPA<?, I> hypothesis, Collection<? extends I> inputs) Searches for a counterexample disproving the subjected hypothesis.
-
Constructor Details
-
SimulatorEQOracle
-
-
Method Details
-
findCounterExample
public @Nullable DefaultQuery<I,Boolean> findCounterExample(OneSEVPA<?, I> hypothesis, Collection<? extends I> inputs) Description copied from interface:EquivalenceOracleSearches for a counterexample disproving the subjected hypothesis. A counterexample is query which, when performed on the SUL, yields a different output than what was predicted by the hypothesis. If no counterexample could be found (this does not necessarily mean that none exists),nullis returned.- Specified by:
findCounterExamplein interfaceEquivalenceOracle<OneSEVPA<?,I>, I, Boolean> - Parameters:
hypothesis- the conjectureinputs- the set of inputs to consider, this should be a subset of the input alphabet of the provided hypothesis- Returns:
- a query exposing different behavior, or
nullif no counterexample could be found. In case a non-nullvalue is returned, the output field in theDefaultQuerycontains the SUL output for the respective query.
-