I - input symbol typepublic class KearnsVaziraniDFA<I> extends Object implements LearningAlgorithm.DFALearner<I>, SupportsGrowingAlphabet<I>, Resumable<KearnsVaziraniDFAState<I>>
| Modifier and Type | Class and Description |
|---|---|
static class |
KearnsVaziraniDFA.BuilderDefaults |
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(Alphabet<I> alphabet,
MembershipOracle<I,Boolean> oracle,
boolean repeatedCounterexampleEvaluation,
AcexAnalyzer counterexampleAnalyzer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAlphabetSymbol(I symbol) |
BinaryDTree<I,StateInfo<I,Boolean>> |
getDiscriminationTree() |
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(Alphabet<I> alphabet, MembershipOracle<I,Boolean> oracle, boolean repeatedCounterexampleEvaluation, AcexAnalyzer counterexampleAnalyzer)
alphabet - the learning alphabetoracle - the membership oraclepublic void startLearning()
startLearning in interface LearningAlgorithm<DFA<?,I>,I,Boolean>public boolean refineHypothesis(DefaultQuery<I,Boolean> ceQuery)
refineHypothesis in interface LearningAlgorithm<DFA<?,I>,I,Boolean>public DFA<?,I> getHypothesisModel()
getHypothesisModel in interface LearningAlgorithm<DFA<?,I>,I,Boolean>public BinaryDTree<I,StateInfo<I,Boolean>> getDiscriminationTree()
public void addAlphabetSymbol(I symbol)
addAlphabetSymbol in interface SupportsGrowingAlphabet<I>public KearnsVaziraniDFAState<I> suspend()
suspend in interface Resumable<KearnsVaziraniDFAState<I>>public void resume(KearnsVaziraniDFAState<I> state)
resume in interface Resumable<KearnsVaziraniDFAState<I>>Copyright © 2020. All rights reserved.