public class ExtensibleLStarMealy<I,O> extends ExtensibleAutomatonLStar<MealyMachine<?,I,?,O>,I,Word<O>,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>> implements LearningAlgorithm.MealyLearner<I,O>
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>
cexHandler, closingStrategy, initialSuffixes
internalHyp, stateInfos
alphabet, oracle, table
Constructor and Description |
---|
ExtensibleLStarMealy(Alphabet<I> alphabet,
MembershipOracle<I,Word<O>> oracle,
List<Word<I>> initialSuffixes,
ObservationTableCEXHandler<? super I,? super Word<O>> cexHandler,
ClosingStrategy<? super I,? super Word<O>> closingStrategy) |
Modifier and Type | Method and Description |
---|---|
protected MealyMachine<?,I,?,O> |
exposeInternalHypothesis() |
protected SuffixOutput<I,Word<O>> |
hypothesisOutput() |
protected List<Word<I>> |
initialSuffixes()
Returns the list of initial suffixes which are used to initialize the table.
|
protected Void |
stateProperty(Row<I> stateRow)
Derives a state property from the corresponding row.
|
protected O |
transitionProperty(Row<I> stateRow,
int inputIdx)
Derives a transition property from the corresponding transition.
|
protected void |
updateOutputs() |
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 ExtensibleLStarMealy(Alphabet<I> alphabet, MembershipOracle<I,Word<O>> oracle, List<Word<I>> initialSuffixes, ObservationTableCEXHandler<? super I,? super Word<O>> cexHandler, ClosingStrategy<? super I,? super Word<O>> closingStrategy)
protected Void stateProperty(Row<I> stateRow)
AbstractAutomatonLStar
stateProperty
in class AbstractAutomatonLStar<MealyMachine<?,I,?,O>,I,Word<O>,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
stateRow
- the row for which the state is createdprotected O transitionProperty(Row<I> stateRow, int inputIdx)
AbstractAutomatonLStar
stateRow.getSuccessor(inputIdx)
.transitionProperty
in class AbstractAutomatonLStar<MealyMachine<?,I,?,O>,I,Word<O>,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
stateRow
- the row for the source stateinputIdx
- the index of the input symbol to considerprotected List<Word<I>> initialSuffixes()
AbstractLStar
initialSuffixes
in class ExtensibleAutomatonLStar<MealyMachine<?,I,?,O>,I,Word<O>,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
protected void updateOutputs()
protected MealyMachine<?,I,?,O> exposeInternalHypothesis()
exposeInternalHypothesis
in class AbstractAutomatonLStar<MealyMachine<?,I,?,O>,I,Word<O>,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
protected SuffixOutput<I,Word<O>> hypothesisOutput()
hypothesisOutput
in class ExtensibleAutomatonLStar<MealyMachine<?,I,?,O>,I,Word<O>,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
Copyright © 2014. All Rights Reserved.