Class AbstractBFOracle<A extends net.automatalib.automaton.DeterministicAutomaton<?,​I,​?>,​I,​D>

    • Constructor Detail

      • AbstractBFOracle

        protected AbstractBFOracle​(MembershipOracle<I,​D> membershipOracle,
                                   double multiplier)
    • Method Detail

      • processInput

        public DefaultQuery<I,​D> processInput​(A hypothesis,
                                                    net.automatalib.word.Word<I> input)
        Description copied from interface: AutomatonOracle
        Processes the given input. Implementations could use membership oracles to process the query.
        Specified by:
        processInput in interface AutomatonOracle<A extends net.automatalib.automaton.DeterministicAutomaton<?,​I,​?>,​I,​D>
        Parameters:
        hypothesis - the hypothesis.
        input - the input to process.
        Returns:
        the processed query.
      • getMultiplier

        public double getMultiplier()
        Description copied from interface: AutomatonOracle
        Returns the multiplier used to compute the number of queries this automaton oracle should perform to decide whether a given hypothesis is a counter example.
        Specified by:
        getMultiplier in interface AutomatonOracle<A extends net.automatalib.automaton.DeterministicAutomaton<?,​I,​?>,​I,​D>
        Returns:
        the multiplier
      • nextInput

        public @Nullable net.automatalib.word.Word<I> nextInput()
        Returns the next input word, by popping from a queue.
        Specified by:
        nextInput in interface AutomatonOracle<A extends net.automatalib.automaton.DeterministicAutomaton<?,​I,​?>,​I,​D>
        Returns:
        the next input word, or null if there is no next input.
        See Also:
        AutomatonOracle.nextInput()
      • addWord

        public void addWord​(net.automatalib.word.Word<I> input)
        Adds a new input word to the queue.
        Specified by:
        addWord in interface AutomatonOracle<A extends net.automatalib.automaton.DeterministicAutomaton<?,​I,​?>,​I,​D>
        Parameters:
        input - the input word to add.
        See Also:
        AutomatonOracle.addWord(Word)
      • pre

        public void pre()
        Clears the queue.
        Specified by:
        pre in interface AutomatonOracle<A extends net.automatalib.automaton.DeterministicAutomaton<?,​I,​?>,​I,​D>