I - input symbol typeO - output symbol typepublic class KearnsVaziraniMealy<I,O> extends Object implements LearningAlgorithm.MealyLearner<I,O>, SupportsGrowingAlphabet<I>, ResumableLearner<KearnsVaziraniMealyState<I,O>>
| Modifier and Type | Class and Description |
|---|---|
protected class |
KearnsVaziraniMealy.KVAbstractCounterexample |
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>| Modifier and Type | Field and Description |
|---|---|
protected AbstractWordBasedDiscriminationTree<I,net.automatalib.words.Word<O>,StateInfo<I,net.automatalib.words.Word<O>>> |
discriminationTree |
protected List<StateInfo<I,net.automatalib.words.Word<O>>> |
stateInfos |
| Constructor and Description |
|---|
KearnsVaziraniMealy(net.automatalib.words.Alphabet<I> alphabet,
MembershipOracle<I,net.automatalib.words.Word<O>> oracle,
boolean repeatedCounterexampleEvaluation,
AcexAnalyzer counterexampleAnalyzer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlphabetSymbol(I symbol) |
net.automatalib.automata.transout.MealyMachine<?,I,?,O> |
getHypothesisModel() |
boolean |
refineHypothesis(DefaultQuery<I,net.automatalib.words.Word<O>> ceQuery) |
void |
resume(KearnsVaziraniMealyState<I,O> state) |
void |
startLearning() |
KearnsVaziraniMealyState<I,O> |
suspend() |
protected AbstractWordBasedDiscriminationTree<I,net.automatalib.words.Word<O>,StateInfo<I,net.automatalib.words.Word<O>>> discriminationTree
public KearnsVaziraniMealy(net.automatalib.words.Alphabet<I> alphabet, MembershipOracle<I,net.automatalib.words.Word<O>> oracle, boolean repeatedCounterexampleEvaluation, AcexAnalyzer counterexampleAnalyzer)
public void startLearning()
startLearning in interface LearningAlgorithm<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>>public boolean refineHypothesis(DefaultQuery<I,net.automatalib.words.Word<O>> ceQuery)
refineHypothesis in interface LearningAlgorithm<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>>public net.automatalib.automata.transout.MealyMachine<?,I,?,O> getHypothesisModel()
getHypothesisModel in interface LearningAlgorithm<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>>public void addAlphabetSymbol(I symbol)
addAlphabetSymbol in interface SupportsGrowingAlphabet<I>public KearnsVaziraniMealyState<I,O> suspend()
suspend in interface ResumableLearner<KearnsVaziraniMealyState<I,O>>public void resume(KearnsVaziraniMealyState<I,O> state)
resume in interface ResumableLearner<KearnsVaziraniMealyState<I,O>>Copyright © 2018. All rights reserved.