public class ExtensibleLStarMealy<I,O> extends ExtensibleAutomatonLStar<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>,Integer,net.automatalib.automata.transout.impl.compact.CompactMealyTransition<O>,Void,O,net.automatalib.automata.transout.impl.compact.CompactMealy<I,O>> implements OTLearner.OTLearnerMealy<I,O>
ExtensibleAutomatonLStar.BuilderDefaultsOTLearner.OTLearnerDFA<I>, OTLearner.OTLearnerMealy<I,O>LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>GlobalSuffixLearner.GlobalSuffixLearnerDFA<I>, GlobalSuffixLearner.GlobalSuffixLearnerMealy<I,O>cexHandler, closingStrategy, initialPrefixes, initialSuffixesinternalHyp, stateInfosalphabet, oracle, table| Constructor and Description |
|---|
ExtensibleLStarMealy(net.automatalib.words.Alphabet<I> alphabet,
MembershipOracle<I,net.automatalib.words.Word<O>> oracle,
List<net.automatalib.words.Word<I>> initialPrefixes,
List<net.automatalib.words.Word<I>> initialSuffixes,
ObservationTableCEXHandler<? super I,? super net.automatalib.words.Word<O>> cexHandler,
ClosingStrategy<? super I,? super net.automatalib.words.Word<O>> closingStrategy) |
ExtensibleLStarMealy(net.automatalib.words.Alphabet<I> alphabet,
MembershipOracle<I,net.automatalib.words.Word<O>> oracle,
List<net.automatalib.words.Word<I>> initialSuffixes,
ObservationTableCEXHandler<? super I,? super net.automatalib.words.Word<O>> cexHandler,
ClosingStrategy<? super I,? super net.automatalib.words.Word<O>> closingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
protected net.automatalib.automata.transout.MealyMachine<?,I,?,O> |
exposeInternalHypothesis() |
protected net.automatalib.automata.concepts.SuffixOutput<I,net.automatalib.words.Word<O>> |
hypothesisOutput() |
protected List<net.automatalib.words.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 |
updateInternalHypothesis()
Performs the L*-style hypothesis construction.
|
protected void |
updateOutputs() |
initialPrefixes, refineHypothesisInternal, selectClosingRowscreateState, doRefineHypothesis, getHypothesisModel, setTransition, startLearningaddGlobalSuffixes, analyzeInconsistency, completeConsistentTable, getGlobalSuffixes, getObservationTable, incorporateCounterExample, refineHypothesisclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHypothesisModel, refineHypothesis, startLearninggetObservationTablepublic ExtensibleLStarMealy(net.automatalib.words.Alphabet<I> alphabet, MembershipOracle<I,net.automatalib.words.Word<O>> oracle, List<net.automatalib.words.Word<I>> initialSuffixes, ObservationTableCEXHandler<? super I,? super net.automatalib.words.Word<O>> cexHandler, ClosingStrategy<? super I,? super net.automatalib.words.Word<O>> closingStrategy)
public ExtensibleLStarMealy(net.automatalib.words.Alphabet<I> alphabet, MembershipOracle<I,net.automatalib.words.Word<O>> oracle, List<net.automatalib.words.Word<I>> initialPrefixes, List<net.automatalib.words.Word<I>> initialSuffixes, ObservationTableCEXHandler<? super I,? super net.automatalib.words.Word<O>> cexHandler, ClosingStrategy<? super I,? super net.automatalib.words.Word<O>> closingStrategy)
protected void updateInternalHypothesis()
AbstractAutomatonLStarAbstractAutomatonLStar.stateProperty(Row) and
AbstractAutomatonLStar.transitionProperty(Row, int) methods are used to derive the
respective properties.updateInternalHypothesis in class AbstractAutomatonLStar<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>,Integer,net.automatalib.automata.transout.impl.compact.CompactMealyTransition<O>,Void,O,net.automatalib.automata.transout.impl.compact.CompactMealy<I,O>>protected Void stateProperty(Row<I> stateRow)
AbstractAutomatonLStarstateProperty in class AbstractAutomatonLStar<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>,Integer,net.automatalib.automata.transout.impl.compact.CompactMealyTransition<O>,Void,O,net.automatalib.automata.transout.impl.compact.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<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>,Integer,net.automatalib.automata.transout.impl.compact.CompactMealyTransition<O>,Void,O,net.automatalib.automata.transout.impl.compact.CompactMealy<I,O>>stateRow - the row for the source stateinputIdx - the index of the input symbol to considerprotected List<net.automatalib.words.Word<I>> initialSuffixes()
AbstractLStarinitialSuffixes in class ExtensibleAutomatonLStar<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>,Integer,net.automatalib.automata.transout.impl.compact.CompactMealyTransition<O>,Void,O,net.automatalib.automata.transout.impl.compact.CompactMealy<I,O>>protected void updateOutputs()
protected net.automatalib.automata.transout.MealyMachine<?,I,?,O> exposeInternalHypothesis()
exposeInternalHypothesis in class AbstractAutomatonLStar<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>,Integer,net.automatalib.automata.transout.impl.compact.CompactMealyTransition<O>,Void,O,net.automatalib.automata.transout.impl.compact.CompactMealy<I,O>>protected net.automatalib.automata.concepts.SuffixOutput<I,net.automatalib.words.Word<O>> hypothesisOutput()
hypothesisOutput in class AbstractLStar<net.automatalib.automata.transout.MealyMachine<?,I,?,O>,I,net.automatalib.words.Word<O>>Copyright © 2014. All Rights Reserved.