I
- input symbol classO
- output symbol classpublic class ClassicLStarMealy<I,O> extends ExtensibleAutomatonLStar<MealyMachine<?,I,?,O>,I,O,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>
cexHandler, closingStrategy, initialSuffixes
internalHyp, stateInfos
alphabet, oracle, table
Constructor and Description |
---|
ClassicLStarMealy(Alphabet<I> alphabet,
MembershipOracle<I,O> oracle,
List<Word<I>> initialSuffixes,
ObservationTableCEXHandler<? super I,? super O> cexHandler,
ClosingStrategy<? super I,? super O> closingStrategy)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static <A extends MutableMealyMachine<?,I,?,O>,I,O> |
createForSymbolOracle(Alphabet<I> alphabet,
MembershipOracle<I,O> oracle,
List<Word<I>> initialSuffixes,
ObservationTableCEXHandler<I,O> cexHandler,
ClosingStrategy<? super I,? super O> closingStrategy) |
static <A extends MutableMealyMachine<?,I,?,O>,I,O> |
createForWordOracle(Alphabet<I> alphabet,
MembershipOracle<I,Word<O>> oracle,
List<Word<I>> initialSuffixes,
ObservationTableCEXHandler<? super I,? super O> cexHandler,
ClosingStrategy<? super I,? super O> closingStrategy) |
protected MealyMachine<?,I,?,O> |
exposeInternalHypothesis() |
protected SuffixOutput<I,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.
|
doRefineHypothesis, selectClosingRows
createState, getHypothesisModel, setTransition, updateInternalHypothesis
analyzeInconsistency, completeConsistentTable, incorporateCounterExample, refineHypothesis, startLearning
public ClassicLStarMealy(Alphabet<I> alphabet, MembershipOracle<I,O> oracle, List<Word<I>> initialSuffixes, ObservationTableCEXHandler<? super I,? super O> cexHandler, ClosingStrategy<? super I,? super O> closingStrategy)
alphabet
- the learning alphabetoracle
- the (Mealy) oraclepublic static <A extends MutableMealyMachine<?,I,?,O>,I,O> ClassicLStarMealy<I,O> createForSymbolOracle(Alphabet<I> alphabet, MembershipOracle<I,O> oracle, List<Word<I>> initialSuffixes, ObservationTableCEXHandler<I,O> cexHandler, ClosingStrategy<? super I,? super O> closingStrategy)
public static <A extends MutableMealyMachine<?,I,?,O>,I,O> ClassicLStarMealy<I,O> createForWordOracle(Alphabet<I> alphabet, MembershipOracle<I,Word<O>> oracle, List<Word<I>> initialSuffixes, ObservationTableCEXHandler<? super I,? super O> cexHandler, ClosingStrategy<? super I,? super O> closingStrategy)
protected Void stateProperty(Row<I> stateRow)
AbstractAutomatonLStar
stateProperty
in class AbstractAutomatonLStar<MealyMachine<?,I,?,O>,I,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,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,O,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
protected MealyMachine<?,I,?,O> exposeInternalHypothesis()
exposeInternalHypothesis
in class AbstractAutomatonLStar<MealyMachine<?,I,?,O>,I,O,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
protected SuffixOutput<I,O> hypothesisOutput()
hypothesisOutput
in class ExtensibleAutomatonLStar<MealyMachine<?,I,?,O>,I,O,Integer,CompactMealyTransition<O>,Void,O,CompactMealy<I,O>>
Copyright © 2014. All Rights Reserved.