Class LearnerVariantListImpl.MealySymLearnerVariantListImpl<I,​O>

    • Constructor Detail

      • MealySymLearnerVariantListImpl

        public MealySymLearnerVariantListImpl()
    • Method Detail

      • 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 interface LearnerVariantList<MealyMachine<?,​I,​?,​O>,​I,​O>
        Parameters:
        name - the name of the variant
        learner - 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 interface LearnerVariantList<MealyMachine<?,​I,​?,​O>,​I,​O>
        Parameters:
        name - the name of the variant
        learner - the algorithm instance for this variant
        maxRounds - 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.