Class LassoEmptinessOracleImpl<L extends net.automatalib.modelchecking.Lasso<I,​D>,​S,​I,​D>

    • Constructor Detail

      • LassoEmptinessOracleImpl

        public LassoEmptinessOracleImpl​(OmegaMembershipOracle<S,​I,​D> omegaMembershipOracle)
    • Method Detail

      • processInput

        public OmegaQuery<I,​D> processInput​(net.automatalib.word.Word<I> prefix,
                                                  net.automatalib.word.Word<I> loop,
                                                  int repeat)
        Description copied from interface: LassoOracle
        Processes the given omega query.
        Specified by:
        processInput in interface LassoOracle<L extends net.automatalib.modelchecking.Lasso<I,​D>,​S,​I>
        Parameters:
        prefix - the prefix
        loop - the loop
        repeat - the maximum number of times the loop may be repeated
        Returns:
        the omega query.
      • isCounterExample

        public boolean isCounterExample​(net.automatalib.automaton.concept.Output<I,​D> hypothesis,
                                        Iterable<? extends I> input,
                                        D output)
        Description copied from interface: LassoOracle
        Returns whether the given input and output is a counter example for the given hypothesis.
        Specified by:
        isCounterExample in interface EmptinessOracle<L extends net.automatalib.modelchecking.Lasso<I,​D>,​S,​I>
        Specified by:
        isCounterExample in interface LassoOracle<L extends net.automatalib.modelchecking.Lasso<I,​D>,​S,​I>
        Parameters:
        hypothesis - the hypothesis
        input - the input sequence
        output - the output corresponding to the input.
        Returns:
        whether the given input and output is a counter example.