Module de.learnlib.algorithm.lstar
Package de.learnlib.algorithm.lstar
Class AbstractExtensibleAutomatonLStar<A,I,D,S,T,SP,TP,AI extends MutableDeterministic<S,I,T,SP,TP> & SupportsGrowingAlphabet<I>>
java.lang.Object
de.learnlib.algorithm.lstar.AbstractLStar<A,I,D>
de.learnlib.algorithm.lstar.AbstractAutomatonLStar<A,I,D,S,T,SP,TP,AI>
de.learnlib.algorithm.lstar.AbstractExtensibleAutomatonLStar<A,I,D,S,T,SP,TP,AI>
- All Implemented Interfaces:
AccessSequenceTransformer<I>,GlobalSuffixLearner<A,,I, D> LearningAlgorithm<A,,I, D> ObservationTableFeature<I,,D> OTLearner<A,,I, D> LearnerStateTracker,Resumable<AutomatonLStarState<I,,D, AI, S>> SupportsGrowingAlphabet<I>
- Direct Known Subclasses:
ClassicLStarMealy,ClassicLStarMoore,ExtensibleLStarDFA,ExtensibleLStarMealy,ExtensibleLStarMoore
public abstract class AbstractExtensibleAutomatonLStar<A,I,D,S,T,SP,TP,AI extends MutableDeterministic<S,I,T,SP,TP> & SupportsGrowingAlphabet<I>>
extends AbstractAutomatonLStar<A,I,D,S,T,SP,TP,AI>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class de.learnlib.algorithm.lstar.AbstractAutomatonLStar
AbstractAutomatonLStar.StateInfo<S,I> Nested classes/interfaces inherited from interface de.learnlib.algorithm.GlobalSuffixLearner
GlobalSuffixLearner.GlobalSuffixLearnerDFA<I>, GlobalSuffixLearner.GlobalSuffixLearnerMealy<I,O> Nested classes/interfaces inherited from interface de.learnlib.algorithm.LearningAlgorithm
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>, LearningAlgorithm.MooreLearner<I, O>, LearningAlgorithm.NFALearner<I> Nested classes/interfaces inherited from interface de.learnlib.datastructure.observationtable.OTLearner
OTLearner.OTLearnerDFA<I>, OTLearner.OTLearnerMealy<I,O>, OTLearner.OTLearnerMoore<I, O> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ObservationTableCEXHandler<? super I,? super D> protected final ClosingStrategy<? super I,? super D> Fields inherited from class de.learnlib.algorithm.lstar.AbstractAutomatonLStar
internalHyp, stateInfosFields inherited from class de.learnlib.algorithm.lstar.AbstractLStar
alphabet, oracle, table -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractExtensibleAutomatonLStar(Alphabet<I> alphabet, MembershipOracle<I, D> oracle, AI internalHyp, List<Word<I>> initialPrefixes, List<Word<I>> initialSuffixes, ObservationTableCEXHandler<? super I, ? super D> cexHandler, ClosingStrategy<? super I, ? super D> closingStrategy) -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of initial suffixes which are used to initialize the table.protected voidrefineHypothesisInternal(DefaultQuery<I, D> ceQuery) selectClosingRows(List<List<Row<I>>> unclosed) This method selects a set of rows to use for closing the table.Methods inherited from class de.learnlib.algorithm.lstar.AbstractAutomatonLStar
addAlphabetSymbol, createState, doRefineHypothesis, resume, setTransition, startLearning, stateProperty, suspend, transitionProperty, updateInternalHypothesisMethods inherited from class de.learnlib.algorithm.lstar.AbstractLStar
addGlobalSuffixes, analyzeInconsistency, completeConsistentTable, getGlobalSuffixes, getObservationTable, hasLearningProcessStarted, hypothesisOutput, incorporateCounterExample, refineHypothesis, 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
getHypothesisModel
-
Field Details
-
cexHandler
-
closingStrategy
-
initialPrefixes
-
initialSuffixes
-
-
Constructor Details
-
AbstractExtensibleAutomatonLStar
-
-
Method Details
-
refineHypothesisInternal
- Overrides:
refineHypothesisInternalin classAbstractAutomatonLStar<A,I, D, S, T, SP, TP, AI extends MutableDeterministic<S, I, T, SP, TP> & SupportsGrowingAlphabet<I>>
-
initialPrefixes
- Overrides:
initialPrefixesin classAbstractLStar<A,I, D>
-
initialSuffixes
Description copied from class:AbstractLStarReturns the list of initial suffixes which are used to initialize the table.- Specified by:
initialSuffixesin classAbstractLStar<A,I, D> - Returns:
- the list of initial suffixes.
-
selectClosingRows
Description copied from class:AbstractLStarThis method selects a set of rows to use for closing the table. It receives as input a list of row lists, such that each (inner) list contains long prefix rows with (currently) identical contents, which have no matching short prefix row. The outer list is the list of all those equivalence classes.- Overrides:
selectClosingRowsin classAbstractLStar<A,I, D> - Parameters:
unclosed- a list of equivalence classes of unclosed rows.- Returns:
- a list containing a representative row from each class to move to the short prefix part.
-