Class LearnerVariantListImpl.MealySymLearnerVariantListImpl<I,O>
- java.lang.Object
-
- de.learnlib.testsupport.it.learner.LearnerVariantListImpl.MealySymLearnerVariantListImpl<I,O>
-
- All Implemented Interfaces:
LearnerVariantList<MealyMachine<?,I,?,O>,I,O>
,LearnerVariantList.MealySymLearnerVariantList<I,O>
- Enclosing class:
- LearnerVariantListImpl<M,I,D>
public static class LearnerVariantListImpl.MealySymLearnerVariantListImpl<I,O> extends Object implements LearnerVariantList.MealySymLearnerVariantList<I,O>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.learnlib.testsupport.it.learner.LearnerVariantList
LearnerVariantList.DFALearnerVariantList<I>, LearnerVariantList.MealyLearnerVariantList<I,O>, LearnerVariantList.MealySymLearnerVariantList<I,O>, LearnerVariantList.MooreLearnerVariantList<I,O>, LearnerVariantList.MooreSymLearnerVariantList<I,O>, LearnerVariantList.OneSEVPALearnerVariantList<I>, LearnerVariantList.SBALearnerVariantList<I>, LearnerVariantList.SPALearnerVariantList<I>, LearnerVariantList.SPMMLearnerVariantList<I,O>
-
-
Constructor Summary
Constructors Constructor Description MealySymLearnerVariantListImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLearnerVariant(String name, LearningAlgorithm<? extends MealyMachine<?,I,?,O>,I,O> learner)
Adds a learner variant with the default maximum number of rounds (i.e., the size of the target automaton) to the list.void
addLearnerVariant(String name, LearningAlgorithm<? extends MealyMachine<?,I,?,O>,I,O> learner, int maxRounds)
Adds a learner variant with a given maximum number of rounds to the list.LearnerVariantListImpl.MealyLearnerVariantListImpl<I,O>
getMealyLearnerVariants()
-
-
-
Method Detail
-
getMealyLearnerVariants
public LearnerVariantListImpl.MealyLearnerVariantListImpl<I,O> getMealyLearnerVariants()
-
addLearnerVariant
public void addLearnerVariant(String name, LearningAlgorithm<? extends MealyMachine<?,I,?,O>,I,O> learner)
Description copied from interface:LearnerVariantList
Adds a learner variant with the default maximum number of rounds (i.e., the size of the target automaton) to the list.This is a convenience method, equivalent to invoking
addLearnerVariant(name, learner, -1)
.- Specified by:
addLearnerVariant
in interfaceLearnerVariantList<MealyMachine<?,I,?,O>,I,O>
- Parameters:
name
- the name of the variantlearner
- the algorithm instance for this variant
-
addLearnerVariant
public void addLearnerVariant(String name, LearningAlgorithm<? extends MealyMachine<?,I,?,O>,I,O> learner, int maxRounds)
Description copied from interface:LearnerVariantList
Adds a learner variant with a given maximum number of rounds to the list.- Specified by:
addLearnerVariant
in interfaceLearnerVariantList<MealyMachine<?,I,?,O>,I,O>
- Parameters:
name
- the name of the variantlearner
- the algorithm instance for this variantmaxRounds
- the maximum number of rounds for the specified target automaton. If a value less than or equal to zero is specified, the default maximum number of rounds (the size of the target automaton) is assumed.
-
-