I
- input symbol class.public class ExtensibleLStarDFA<I> extends ExtensibleAutomatonLStar<DFA<?,I>,I,Boolean,Integer,Integer,Boolean,Void,CompactDFA<I>> implements LearningAlgorithm.DFALearner<I>
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>
cexHandler, closingStrategy, initialSuffixes
internalHyp, stateInfos
alphabet, oracle, table
Constructor and Description |
---|
ExtensibleLStarDFA(Alphabet<I> alphabet,
MembershipOracle<I,Boolean> oracle,
List<Word<I>> initialSuffixes,
ObservationTableCEXHandler<? super I,? super Boolean> cexHandler,
ClosingStrategy<? super I,? super Boolean> closingStrategy)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected DFA<?,I> |
exposeInternalHypothesis() |
protected SuffixOutput<I,Boolean> |
hypothesisOutput() |
protected List<Word<I>> |
initialSuffixes()
Returns the list of initial suffixes which are used to initialize the table.
|
protected Boolean |
stateProperty(Row<I> stateRow)
Derives a state property from the corresponding row.
|
protected Void |
transitionProperty(Row<I> stateRow,
int inputIdx)
Derives a transition property from the corresponding transition.
|
doRefineHypothesis, selectClosingRows
createState, getHypothesisModel, setTransition, updateInternalHypothesis
analyzeInconsistency, completeConsistentTable, incorporateCounterExample, refineHypothesis, startLearning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHypothesisModel, refineHypothesis, startLearning
public ExtensibleLStarDFA(Alphabet<I> alphabet, MembershipOracle<I,Boolean> oracle, List<Word<I>> initialSuffixes, ObservationTableCEXHandler<? super I,? super Boolean> cexHandler, ClosingStrategy<? super I,? super Boolean> closingStrategy)
alphabet
- the learning alphabet.oracle
- the DFA oracle.protected List<Word<I>> initialSuffixes()
AbstractLStar
initialSuffixes
in class ExtensibleAutomatonLStar<DFA<?,I>,I,Boolean,Integer,Integer,Boolean,Void,CompactDFA<I>>
protected Boolean stateProperty(Row<I> stateRow)
AbstractAutomatonLStar
stateProperty
in class AbstractAutomatonLStar<DFA<?,I>,I,Boolean,Integer,Integer,Boolean,Void,CompactDFA<I>>
stateRow
- the row for which the state is createdprotected Void transitionProperty(Row<I> stateRow, int inputIdx)
AbstractAutomatonLStar
stateRow.getSuccessor(inputIdx)
.transitionProperty
in class AbstractAutomatonLStar<DFA<?,I>,I,Boolean,Integer,Integer,Boolean,Void,CompactDFA<I>>
stateRow
- the row for the source stateinputIdx
- the index of the input symbol to considerprotected DFA<?,I> exposeInternalHypothesis()
exposeInternalHypothesis
in class AbstractAutomatonLStar<DFA<?,I>,I,Boolean,Integer,Integer,Boolean,Void,CompactDFA<I>>
protected SuffixOutput<I,Boolean> hypothesisOutput()
hypothesisOutput
in class ExtensibleAutomatonLStar<DFA<?,I>,I,Boolean,Integer,Integer,Boolean,Void,CompactDFA<I>>
Copyright © 2014. All Rights Reserved.