I
- input symbol classpublic final class DFACacheConsistencyTest<I> extends Object implements EquivalenceOracle.DFAEquivalenceOracle<I>
EquivalenceOracle
that tests an hypothesis for consistency with the
contents of a DFACacheOracle
.EquivalenceOracle.DFAEquivalenceOracle<I>, EquivalenceOracle.MealyEquivalenceOracle<I,O>
Constructor and Description |
---|
DFACacheConsistencyTest(IncrementalDFABuilder<I> incDfa,
Lock lock)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DefaultQuery<I,Boolean> |
findCounterExample(DFA<?,I> hypothesis,
Collection<? extends I> inputs)
Searches for a counterexample disproving the subjected hypothesis.
|
public DFACacheConsistencyTest(IncrementalDFABuilder<I> incDfa, Lock lock)
incDfa
- the IncrementalDFABuilder
data structure of the cachepublic DefaultQuery<I,Boolean> findCounterExample(DFA<?,I> hypothesis, Collection<? extends I> inputs)
EquivalenceOracle
null
is returned.findCounterExample
in interface EquivalenceOracle<DFA<?,I>,I,Boolean>
hypothesis
- the conjectureinputs
- the set of inputs to consider, this should be a subset of the input alphabet
of the provided hypothesisDefaultQuery
contains the SUL output for the respective query.Copyright © 2015. All rights reserved.