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>>
ExtensibleAutomatonLStar.BuilderDefaults
OTLearner.OTLearnerDFA<I>, OTLearner.OTLearnerMealy<I,O>
GlobalSuffixLearner.GlobalSuffixLearnerDFA<I>, GlobalSuffixLearner.GlobalSuffixLearnerMealy<I,O>
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>
cexHandler, closingStrategy, initialPrefixes, initialSuffixes
internalHyp, stateInfos
alphabet, oracle, table
Constructor and Description |
---|
ClassicLStarMealy(Alphabet<I> alphabet,
MembershipOracle<I,O> oracle,
List<Word<I>> initialPrefixes,
List<Word<I>> initialSuffixes,
ObservationTableCEXHandler<? super I,? super O> cexHandler,
ClosingStrategy<? super I,? super O> closingStrategy) |
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.
|
initialPrefixes, refineHypothesisInternal, selectClosingRows
createState, doRefineHypothesis, getHypothesisModel, setTransition, startLearning, updateInternalHypothesis
addGlobalSuffixes, analyzeInconsistency, completeConsistentTable, getGlobalSuffixes, getObservationTable, incorporateCounterExample, refineHypothesis
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
N.B.: Not the transition row is passed to this method, but the
row for the outgoing state. The transition row can be retrieved
using Row.getSuccessor(int)
.
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 AbstractLStar<MealyMachine<?,I,?,O>,I,O>
Copyright © 2015. All rights reserved.