I - input symbol typepublic class KearnsVaziraniDFA<I> extends Object implements LearningAlgorithm.DFALearner<I>, SupportsGrowingAlphabet<I>, ResumableLearner<KearnsVaziraniDFAState<I>>
| Modifier and Type | Class and Description |
|---|---|
protected class |
KearnsVaziraniDFA.KVAbstractCounterexample |
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>| Modifier and Type | Field and Description |
|---|---|
protected BinaryDTree<I,StateInfo<I,Boolean>> |
discriminationTree |
protected List<StateInfo<I,Boolean>> |
stateInfos |
| Constructor and Description |
|---|
KearnsVaziraniDFA(net.automatalib.words.Alphabet<I> alphabet,
MembershipOracle<I,Boolean> oracle,
boolean repeatedCounterexampleEvaluation,
AcexAnalyzer counterexampleAnalyzer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAlphabetSymbol(I symbol) |
net.automatalib.automata.fsa.DFA<?,I> |
getHypothesisModel() |
boolean |
refineHypothesis(DefaultQuery<I,Boolean> ceQuery) |
void |
resume(KearnsVaziraniDFAState<I> state) |
void |
startLearning() |
KearnsVaziraniDFAState<I> |
suspend() |
protected BinaryDTree<I,StateInfo<I,Boolean>> discriminationTree
public KearnsVaziraniDFA(net.automatalib.words.Alphabet<I> alphabet, MembershipOracle<I,Boolean> oracle, boolean repeatedCounterexampleEvaluation, AcexAnalyzer counterexampleAnalyzer)
alphabet - the learning alphabetoracle - the membership oraclepublic void startLearning()
startLearning in interface LearningAlgorithm<net.automatalib.automata.fsa.DFA<?,I>,I,Boolean>public boolean refineHypothesis(DefaultQuery<I,Boolean> ceQuery)
refineHypothesis in interface LearningAlgorithm<net.automatalib.automata.fsa.DFA<?,I>,I,Boolean>public net.automatalib.automata.fsa.DFA<?,I> getHypothesisModel()
getHypothesisModel in interface LearningAlgorithm<net.automatalib.automata.fsa.DFA<?,I>,I,Boolean>public void addAlphabetSymbol(I symbol)
addAlphabetSymbol in interface SupportsGrowingAlphabet<I>public KearnsVaziraniDFAState<I> suspend()
suspend in interface ResumableLearner<KearnsVaziraniDFAState<I>>public void resume(KearnsVaziraniDFAState<I> state)
resume in interface ResumableLearner<KearnsVaziraniDFAState<I>>Copyright © 2018. All rights reserved.