Class AbstractGrowingAlphabetTest<L extends SupportsGrowingAlphabet<I> & LearningAlgorithm<M,​I,​D>,​M extends UniversalDeterministicAutomaton<?,​I,​?,​?,​?> & Output<I,​D>,​OR,​I,​D>

    • Constructor Detail

      • AbstractGrowingAlphabetTest

        public AbstractGrowingAlphabetTest()
    • Method Detail

      • setup

        @BeforeClass
        public void setup()
      • getInitialAlphabet

        protected abstract Alphabet<I> getInitialAlphabet()
      • getAlphabetExtensions

        protected abstract Collection<I> getAlphabetExtensions()
      • getTarget

        protected abstract M getTarget​(Alphabet<I> alphabet)
      • getOracle

        protected abstract OR getOracle​(M target)
      • getCachedOracle

        protected abstract OR getCachedOracle​(Alphabet<I> alphabet,
                                              OR source,
                                              List<Consumer<I>> symbolListener)
      • getLearner

        protected abstract L getLearner​(OR oracle,
                                        Alphabet<I> alphabet)
      • testInitialAlphabet

        public void testInitialAlphabet()
      • testGrowingAlphabet

        public void testGrowingAlphabet()
        In case of passing a growing alphabet, the learners may use the existing GrowingAlphabet.addSymbol(Object) functionality. Due to references, this may alter their behavior. Check it!
      • testGrowingAlphabetWithCache

        public void testGrowingAlphabetWithCache()