Interface LassoOracle<L extends Lasso<I,​D>,​I,​D>

    • Method Detail

      • processInput

        OmegaQuery<I,​D> processInput​(Word<I> prefix,
                                           Word<I> loop,
                                           int repeat)
        Processes the given omega query.
        Parameters:
        prefix - the prefix
        loop - the loop
        repeat - the maximum number of times the loop may be repeated
        Returns:
        the omega query.
      • isCounterExample

        boolean isCounterExample​(Output<I,​D> hypothesis,
                                 Iterable<? extends I> inputs,
                                 D output)
        Returns whether the given input and output is a counter example for the given hypothesis.
        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

        default @Nullable DefaultQuery<I,​D> findCounterExample​(L hypothesis,
                                                                     Collection<? extends I> inputs)