Package de.learnlib.algorithm.kv.mealy
Class KearnsVaziraniMealy<I,O>
- java.lang.Object
-
- de.learnlib.algorithm.kv.mealy.KearnsVaziraniMealy<I,O>
-
- Type Parameters:
I- input symbol typeO- output symbol type
- All Implemented Interfaces:
LearningAlgorithm<MealyMachine<?,I,?,O>,I,Word<O>>,LearningAlgorithm.MealyLearner<I,O>,Resumable<KearnsVaziraniMealyState<I,O>>,SupportsGrowingAlphabet<I>
public class KearnsVaziraniMealy<I,O> extends Object implements LearningAlgorithm.MealyLearner<I,O>, SupportsGrowingAlphabet<I>, Resumable<KearnsVaziraniMealyState<I,O>>
An adaption of the Kearns/Vazirani algorithm for Mealy machines.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classKearnsVaziraniMealy.KVAbstractCounterexample-
Nested classes/interfaces inherited from interface de.learnlib.algorithm.LearningAlgorithm
LearningAlgorithm.DFALearner<I extends Object>, LearningAlgorithm.MealyLearner<I extends Object,O extends Object>, LearningAlgorithm.MooreLearner<I extends Object,O extends Object>, LearningAlgorithm.NFALearner<I extends Object>
-
-
Constructor Summary
Constructors Constructor Description KearnsVaziraniMealy(Alphabet<I> alphabet, MembershipOracle<I,Word<O>> oracle, boolean repeatedCounterexampleEvaluation, AcexAnalyzer counterexampleAnalyzer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAlphabetSymbol(I symbol)MultiDTree<I,Word<O>,StateInfo<I,Word<O>>>getDiscriminationTree()MealyMachine<?,I,?,O>getHypothesisModel()booleanrefineHypothesis(DefaultQuery<I,Word<O>> ceQuery)voidresume(KearnsVaziraniMealyState<I,O> state)voidstartLearning()KearnsVaziraniMealyState<I,O>suspend()
-
-
-
Constructor Detail
-
KearnsVaziraniMealy
public KearnsVaziraniMealy(Alphabet<I> alphabet, MembershipOracle<I,Word<O>> oracle, boolean repeatedCounterexampleEvaluation, AcexAnalyzer counterexampleAnalyzer)
-
-
Method Detail
-
startLearning
public void startLearning()
- Specified by:
startLearningin interfaceLearningAlgorithm<MealyMachine<?,I,?,O>,I,Word<O>>
-
refineHypothesis
public boolean refineHypothesis(DefaultQuery<I,Word<O>> ceQuery)
- Specified by:
refineHypothesisin interfaceLearningAlgorithm<MealyMachine<?,I,?,O>,I,Word<O>>
-
getHypothesisModel
public MealyMachine<?,I,?,O> getHypothesisModel()
- Specified by:
getHypothesisModelin interfaceLearningAlgorithm<MealyMachine<?,I,?,O>,I,Word<O>>
-
addAlphabetSymbol
public void addAlphabetSymbol(I symbol)
- Specified by:
addAlphabetSymbolin interfaceSupportsGrowingAlphabet<I>
-
suspend
public KearnsVaziraniMealyState<I,O> suspend()
-
-