Class AbstractMoorePassiveLearnerIT


  • public abstract class AbstractMoorePassiveLearnerIT
    extends Object
    Abstract integration test for passive Moore 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.

    • Constructor Detail

      • AbstractMoorePassiveLearnerIT

        public AbstractMoorePassiveLearnerIT()
    • Method Detail

      • createExampleITCases

        @Factory
        public Object[] createExampleITCases()
      • addLearnerVariants

        protected abstract <I,​O> void addLearnerVariants​(Alphabet<I> alphabet,
                                                               PassiveLearnerVariantList<MooreMachine<?,​I,​?,​O>,​I,​Word<O>> variants)
        Adds, for a given setup, all the variants of the Moore learner to be tested to the specified variant list.
        Parameters:
        alphabet - the input alphabet
        variants - list to add the learner variants to