Module de.learnlib.algorithm.lambda
Class TTTLambdaDFA<I>
- java.lang.Object
-
- de.learnlib.algorithm.lambda.ttt.AbstractTTTLambda<net.automatalib.automaton.fsa.DFA<?,I>,I,Boolean>
-
- de.learnlib.algorithm.lambda.ttt.dfa.TTTLambdaDFA<I>
-
- All Implemented Interfaces:
LearningAlgorithm<net.automatalib.automaton.fsa.DFA<?,I>,I,Boolean>
,LearningAlgorithm.DFALearner<I>
,net.automatalib.alphabet.SupportsGrowingAlphabet<I>
,net.automatalib.automaton.concept.FiniteRepresentation
- Direct Known Subclasses:
TTTLambdaAdapterDFA
public class TTTLambdaDFA<I> extends AbstractTTTLambda<net.automatalib.automaton.fsa.DFA<?,I>,I,Boolean> implements LearningAlgorithm.DFALearner<I>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.learnlib.algorithm.LearningAlgorithm
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>, LearningAlgorithm.MooreLearner<I,O>, LearningAlgorithm.NFALearner<I>
-
-
Field Summary
-
Fields inherited from class de.learnlib.algorithm.lambda.ttt.AbstractTTTLambda
ptree, strie
-
-
Constructor Summary
Constructors Constructor Description TTTLambdaDFA(net.automatalib.alphabet.Alphabet<I> alphabet, MembershipOracle<I,Boolean> mqo)
TTTLambdaDFA(net.automatalib.alphabet.Alphabet<I> alphabet, MembershipOracle<I,Boolean> mqs, MembershipOracle<I,Boolean> ceqs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractDecisionTree<I,Boolean>
dtree()
net.automatalib.automaton.fsa.DFA<?,I>
getHypothesisModel()
Returns the current hypothesis model.protected DTLeaf<I,Boolean>
getState(net.automatalib.word.Word<I> prefix)
protected int
maxSearchIndex(int ceLength)
int
size()
-
Methods inherited from class de.learnlib.algorithm.lambda.ttt.AbstractTTTLambda
addAlphabetSymbol, refineHypothesis, startLearning
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.learnlib.algorithm.LearningAlgorithm
refineHypothesis, startLearning
-
-
-
-
Constructor Detail
-
TTTLambdaDFA
public TTTLambdaDFA(net.automatalib.alphabet.Alphabet<I> alphabet, MembershipOracle<I,Boolean> mqo)
-
TTTLambdaDFA
public TTTLambdaDFA(net.automatalib.alphabet.Alphabet<I> alphabet, MembershipOracle<I,Boolean> mqs, MembershipOracle<I,Boolean> ceqs)
-
-
Method Detail
-
maxSearchIndex
protected int maxSearchIndex(int ceLength)
- Specified by:
maxSearchIndex
in classAbstractTTTLambda<net.automatalib.automaton.fsa.DFA<?,I>,I,Boolean>
-
getState
protected DTLeaf<I,Boolean> getState(net.automatalib.word.Word<I> prefix)
- Specified by:
getState
in classAbstractTTTLambda<net.automatalib.automaton.fsa.DFA<?,I>,I,Boolean>
-
getHypothesisModel
public net.automatalib.automaton.fsa.DFA<?,I> getHypothesisModel()
Description copied from interface:LearningAlgorithm
Returns the current hypothesis model.N.B.: By the contract of this interface, the model returned by this method should not be modified by external code (i.e., M generally should refer to an immutable interface), and its validity is retained only until the next invocation of
LearningAlgorithm.refineHypothesis(DefaultQuery)
. If older hypotheses have to be maintained, a copy of the returned model must be made.Please note that it should be illegal to invoke this method before an initial invocation of
LearningAlgorithm.startLearning()
.- Specified by:
getHypothesisModel
in interfaceLearningAlgorithm<net.automatalib.automaton.fsa.DFA<?,I>,I,Boolean>
- Returns:
- the current hypothesis model.
-
dtree
protected AbstractDecisionTree<I,Boolean> dtree()
- Specified by:
dtree
in classAbstractTTTLambda<net.automatalib.automaton.fsa.DFA<?,I>,I,Boolean>
-
size
public int size()
- Specified by:
size
in interfacenet.automatalib.automaton.concept.FiniteRepresentation
-
-