Class MealyBFEmptinessOracle<I,​O>

    • Constructor Detail

      • MealyBFEmptinessOracle

        public MealyBFEmptinessOracle​(MembershipOracle.MealyMembershipOracle<I,​O> membershipOracle,
                                      double multiplier)
        This is an auto-generated constructor. See the original constructor.
    • Method Detail

      • isCounterExample

        public boolean isCounterExample​(A hypothesis,
                                        Iterable<? extends I> inputs,
                                        D output)
        Description copied from interface: AutomatonOracle
        Returns whether the given input and output is a counter example for the given hypothesis.
        Specified by:
        isCounterExample in interface AutomatonOracle<A extends DetOutputAutomaton<?,​I,​?,​D>,​I,​D>
        Parameters:
        hypothesis - the hypothesis
        inputs - the input sequence
        output - the output corresponding to the input.
        Returns:
        whether the given input and output is a counter example.
      • findCounterExample

        public @Nullable DefaultQuery<I,​D> findCounterExample​(A hypothesis,
                                                                    Collection<? extends I> inputs)
        Description copied from interface: AutomatonOracle
        Finds a counter example to the given hypothesis. By default, the maximum number of queries performed are hypothesis.size() * getMultiplier().
        Specified by:
        findCounterExample in interface AutomatonOracle<A extends DetOutputAutomaton<?,​I,​?,​D>,​I,​D>
        Specified by:
        findCounterExample in interface EmptinessOracle<A extends DetOutputAutomaton<?,​I,​?,​D>,​I,​D>
        Parameters:
        hypothesis - the hypothesis automaton.
        inputs - the input alphabet.
        Returns:
        the counter example, or null if a counter example does not exist