Class AbstractTestWordEQOracle<A extends net.automatalib.automaton.concept.Output<I,​D>,​I,​D>

    • Constructor Detail

      • AbstractTestWordEQOracle

        public AbstractTestWordEQOracle​(MembershipOracle<I,​D> membershipOracle)
      • AbstractTestWordEQOracle

        public AbstractTestWordEQOracle​(MembershipOracle<I,​D> membershipOracle,
                                        int batchSize)
    • Method Detail

      • generateTestWords

        protected abstract Stream<net.automatalib.word.Word<I>> generateTestWords​(A hypothesis,
                                                                                  Collection<? extends I> inputs)
        Generate the stream of test words that should be used for the current equivalence check cycle.
        Parameters:
        hypothesis - the current hypothesis of the learning algorithm
        inputs - the collection of inputs to consider
        Returns:
        the stream of test words used for equivalence testing
        See Also:
        EquivalenceOracle.findCounterExample(Object, Collection)