Package de.learnlib.algorithm
Interface PassiveLearningAlgorithm<M,I,D>
-
- All Known Subinterfaces:
PassiveLearningAlgorithm.PassiveAcceptorLearner<M,I>,PassiveLearningAlgorithm.PassiveDFALearner<I>,PassiveLearningAlgorithm.PassiveMealyLearner<I,O>,PassiveLearningAlgorithm.PassiveMooreLearner<I,O>
public interface PassiveLearningAlgorithm<M,I,D>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePassiveLearningAlgorithm.PassiveAcceptorLearner<M extends FiniteStateAcceptor<?,I>,I>static interfacePassiveLearningAlgorithm.PassiveDFALearner<I>Basic interface for passive learning algorithms that inferDFAs.static interfacePassiveLearningAlgorithm.PassiveMealyLearner<I,O>Basic interface for passive learning algorithms that inferMealy machines.static interfacePassiveLearningAlgorithm.PassiveMooreLearner<I,O>Basic interface for passive learning algorithms that inferMoore machines.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaddSample(DefaultQuery<I,D> sample)default voidaddSample(Word<I> input, D output)default voidaddSamples(DefaultQuery<I,D>... samples)default voidaddSamples(D output, Collection<? extends Word<I>> words)default voidaddSamples(D output, Word<I>... words)voidaddSamples(Collection<? extends DefaultQuery<I,D>> samples)McomputeModel()Computes the model given the previously added samples.
-
-
-
Method Detail
-
addSamples
void addSamples(Collection<? extends DefaultQuery<I,D>> samples)
-
addSamples
default void addSamples(DefaultQuery<I,D>... samples)
-
addSamples
default void addSamples(D output, Collection<? extends Word<I>> words)
-
addSample
default void addSample(DefaultQuery<I,D> sample)
-
computeModel
M computeModel()
Computes the model given the previously added samples.Implementation note: It is up to the implementation if this operation is repeatable or not, An implementation may throw an
IllegalStateExceptionif additional samples are added after the first model construction.- Returns:
- the computed model
-
-