Module de.learnlib.algorithm.lambda
Class TTTLambdaDFA<I>
java.lang.Object
de.learnlib.algorithm.lambda.ttt.AbstractTTTLambda<DFA<?,I>,I,Boolean>
de.learnlib.algorithm.lambda.ttt.dfa.TTTLambdaDFA<I>
- All Implemented Interfaces:
AccessSequenceTransformer<I>,LearningAlgorithm<DFA<?,,I>, I, Boolean> LearningAlgorithm.DFALearner<I>,LearnerStateTracker,Resumable<TTTLambdaState<I,,Boolean>> SupportsGrowingAlphabet<I>,FiniteRepresentation
public class TTTLambdaDFA<I>
extends AbstractTTTLambda<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
alphabet, ptree, strie -
Constructor Summary
ConstructorsConstructorDescriptionTTTLambdaDFA(Alphabet<I> alphabet, MembershipOracle<I, Boolean> mqo) TTTLambdaDFA(Alphabet<I> alphabet, MembershipOracle<I, Boolean> mqs, MembershipOracle<I, Boolean> ceqs) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractDecisionTree<I,Boolean> dtree()Returns the current hypothesis model.protected intmaxSearchIndex(int ceLength) voidresume(TTTLambdaState<I, Boolean> state) Resume the data structure from a previously suspended point in time.intsize()Methods inherited from class de.learnlib.algorithm.lambda.ttt.AbstractTTTLambda
addAlphabetSymbol, hasLearningProcessStarted, makeConsistent, refineHypothesis, startLearning, suspend, transformAccessSequenceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.learnlib.AccessSequenceTransformer
isAccessSequence, longestASPrefixMethods inherited from interface de.learnlib.LearnerStateTracker
requireLearningProcessNotStarted, requireLearningProcessStartedMethods inherited from interface de.learnlib.algorithm.LearningAlgorithm
refineHypothesis, startLearning
-
Constructor Details
-
TTTLambdaDFA
-
TTTLambdaDFA
public TTTLambdaDFA(Alphabet<I> alphabet, MembershipOracle<I, Boolean> mqs, MembershipOracle<I, Boolean> ceqs)
-
-
Method Details
-
maxSearchIndex
protected int maxSearchIndex(int ceLength) - Specified by:
maxSearchIndexin classAbstractTTTLambda<DFA<?,I>, I, Boolean>
-
getState
-
getHypothesisModel
Description copied from interface:LearningAlgorithmReturns 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.- Specified by:
getHypothesisModelin interfaceLearningAlgorithm<DFA<?,I>, I, Boolean> - Returns:
- the current hypothesis model.
-
dtree
-
size
public int size()- Specified by:
sizein interfaceFiniteRepresentation
-
resume
Description copied from interface:ResumableResume the data structure from a previously suspended point in time.
-