Class AbstractDFALearnerIT


  • public abstract class AbstractDFALearnerIT
    extends Object
    Abstract integration test for DFA learning algorithms.

    If run, this integration test tests the functionality of all variants of a DFA learning algorithm against all the examples contained in LearningExamples.createDFAExamples().

    • Constructor Detail

      • AbstractDFALearnerIT

        public AbstractDFALearnerIT()
    • Method Detail

      • createExampleITCases

        @Factory
        public Object[] createExampleITCases()
      • addLearnerVariants

        protected abstract <I> void addLearnerVariants​(Alphabet<I> alphabet,
                                                       int targetSize,
                                                       MembershipOracle.DFAMembershipOracle<I> mqOracle,
                                                       LearnerVariantList.DFALearnerVariantList<I> variants)
        Adds, for a given setup, all the variants of the DFA learner to be tested to the specified variant list.
        Parameters:
        alphabet - the input alphabet
        targetSize - the size of the target automaton
        mqOracle - the membership oracle
        variants - list to add the learner variants to