A - automaton typeI - input symbol typeD - output domain typepublic class WMethodEQOracle<A extends net.automatalib.automata.UniversalDeterministicAutomaton<?,I,?,?,?> & net.automatalib.automata.concepts.Output<I,D>,I,D> extends AbstractTestWordEQOracle<A,I,D>
| Modifier and Type | Class and Description |
|---|---|
static class |
WMethodEQOracle.DFAWMethodEQOracle<I> |
static class |
WMethodEQOracle.MealyWMethodEQOracle<I,O> |
EquivalenceOracle.DFAEquivalenceOracle<I>, EquivalenceOracle.MealyEquivalenceOracle<I,O>| Constructor and Description |
|---|
WMethodEQOracle(MembershipOracle<I,D> sulOracle,
int maxDepth)
Constructor.
|
WMethodEQOracle(MembershipOracle<I,D> sulOracle,
int maxDepth,
int batchSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Stream<net.automatalib.words.Word<I>> |
generateTestWords(A hypothesis,
Collection<? extends I> inputs)
Generate the stream of test words that should be used for the current equivalence check cycle.
|
void |
setMaxDepth(int maxDepth) |
findCounterExamplepublic WMethodEQOracle(MembershipOracle<I,D> sulOracle, int maxDepth)
sulOracle - interface to the system under learningmaxDepth - the maximum length of the "middle" part of the test casespublic WMethodEQOracle(MembershipOracle<I,D> sulOracle, int maxDepth, int batchSize)
sulOracle - interface to the system under learningmaxDepth - the maximum length of the "middle" part of the test casesbatchSize - size of the batches sent to the membership oraclepublic void setMaxDepth(int maxDepth)
protected Stream<net.automatalib.words.Word<I>> generateTestWords(A hypothesis, Collection<? extends I> inputs)
AbstractTestWordEQOraclegenerateTestWords in class AbstractTestWordEQOracle<A extends net.automatalib.automata.UniversalDeterministicAutomaton<?,I,?,?,?> & net.automatalib.automata.concepts.Output<I,D>,I,D>hypothesis - the current hypothesis of the learning algorithminputs - the collection of inputs to considerEquivalenceOracle.findCounterExample(Object, Collection)Copyright © 2018. All rights reserved.