I
- input symbol class.public class BaselineLStar<I> extends Object implements OTLearner<net.automatalib.automata.fsa.DFA<?,I>,I,Boolean>, GlobalSuffixLearner.GlobalSuffixLearnerDFA<I>
OTLearner.OTLearnerDFA<I>, OTLearner.OTLearnerMealy<I,O>
GlobalSuffixLearner.GlobalSuffixLearnerDFA<I>, GlobalSuffixLearner.GlobalSuffixLearnerMealy<I,O>
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>
Constructor and Description |
---|
BaselineLStar(net.automatalib.words.Alphabet<I> alphabet,
MembershipOracle<I,Boolean> oracle)
Initializes a newly created baseline L* implementation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addGlobalSuffixes(Collection<? extends net.automatalib.words.Word<I>> newGlobalSuffixes) |
Collection<? extends net.automatalib.words.Word<I>> |
getGlobalSuffixes() |
net.automatalib.automata.fsa.DFA<?,I> |
getHypothesisModel() |
ObservationTable<I,Boolean> |
getObservationTable() |
String |
getStringRepresentationOfObservationTable() |
boolean |
refineHypothesis(DefaultQuery<I,Boolean> ceQuery) |
void |
startLearning() |
public BaselineLStar(@Nonnull net.automatalib.words.Alphabet<I> alphabet, @Nonnull MembershipOracle<I,Boolean> oracle)
startLearning()
may be called once.alphabet
- The Alphabet
to learn.oracle
- The MembershipOracle
which is used for membership queries.public void startLearning()
startLearning
in interface LearningAlgorithm<net.automatalib.automata.fsa.DFA<?,I>,I,Boolean>
public boolean refineHypothesis(@Nonnull DefaultQuery<I,Boolean> ceQuery)
refineHypothesis
in interface LearningAlgorithm<net.automatalib.automata.fsa.DFA<?,I>,I,Boolean>
public net.automatalib.automata.fsa.DFA<?,I> getHypothesisModel()
getHypothesisModel
in interface LearningAlgorithm<net.automatalib.automata.fsa.DFA<?,I>,I,Boolean>
@Nonnull public String getStringRepresentationOfObservationTable()
@Nonnull public Collection<? extends net.automatalib.words.Word<I>> getGlobalSuffixes()
getGlobalSuffixes
in interface GlobalSuffixFeature<I>
public boolean addGlobalSuffixes(@Nonnull Collection<? extends net.automatalib.words.Word<I>> newGlobalSuffixes)
addGlobalSuffixes
in interface GlobalSuffixFeature<I>
@Nonnull public ObservationTable<I,Boolean> getObservationTable()
getObservationTable
in interface ObservationTableFeature<I,Boolean>
Copyright © 2014. All Rights Reserved.