Class AbstractMealyLearnerIT
- java.lang.Object
-
- de.learnlib.testsupport.it.learner.AbstractMealyLearnerIT
-
public abstract class AbstractMealyLearnerIT extends Object
Abstract integration test for Mealy machine learning algorithms.Mealy machine learning algorithms tested by this integration test are expected to assume membership queries yield the full output word corresponding to the suffix part of the query. If the learning algorithm only expects the last symbol as output, use
AbstractMealySymLearnerIT
.
-
-
Constructor Summary
Constructors Constructor Description AbstractMealyLearnerIT()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract <I,O>
voidaddLearnerVariants(Alphabet<I> alphabet, int targetSize, MembershipOracle.MealyMembershipOracle<I,O> mqOracle, LearnerVariantList.MealyLearnerVariantList<I,O> variants)
Adds, for a given setup, all the variants of the Mealy machine learner to be tested to the specifiedvariant list
.Object[]
createExampleITCases()
-
-
-
Method Detail
-
createExampleITCases
@Factory public Object[] createExampleITCases()
-
addLearnerVariants
protected abstract <I,O> void addLearnerVariants(Alphabet<I> alphabet, int targetSize, MembershipOracle.MealyMembershipOracle<I,O> mqOracle, LearnerVariantList.MealyLearnerVariantList<I,O> variants)
Adds, for a given setup, all the variants of the Mealy machine learner to be tested to the specifiedvariant list
.- Parameters:
alphabet
- the input alphabettargetSize
- the size of the target automatonmqOracle
- the membership oraclevariants
- list to add the learner variants to
-
-