Interface LearnerVariantList<M,​I,​D>

    • Method Detail

      • addLearnerVariant

        void addLearnerVariant​(String name,
                               LearningAlgorithm<? extends M,​I,​D> learner)
        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).

        Parameters:
        name - the name of the variant
        learner - the algorithm instance for this variant
      • addLearnerVariant

        void addLearnerVariant​(String name,
                               LearningAlgorithm<? extends M,​I,​D> learner,
                               int maxRounds)
        Adds a learner variant with a given maximum number of rounds to the list.
        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.