L
- the type of Lasso.I
- the type of input.D
- the type of output.public interface LassoOracle<L extends Lasso<I,D>,I,D>
AutomatonOracle
Modifier and Type | Interface and Description |
---|---|
static interface |
LassoOracle.DFALassoOracle<I> |
static interface |
LassoOracle.MealyLassoOracle<I,O> |
Modifier and Type | Method and Description |
---|---|
default @Nullable DefaultQuery<I,D> |
findCounterExample(L hypothesis,
Collection<? extends I> inputs) |
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.
|
boolean |
isOmegaCounterExample(boolean isUltimatelyPeriodic)
Returns whether a lasso that is ultimately periodic could serve as a counter example.
|
OmegaQuery<I,D> |
processInput(Word<I> prefix,
Word<I> loop,
int repeat)
Processes the given omega query.
|
OmegaQuery<I,D> processInput(Word<I> prefix, Word<I> loop, int repeat)
prefix
- the prefixloop
- the looprepeat
- the maximum number of times the loop may be repeatedboolean isCounterExample(Output<I,D> hypothesis, Iterable<? extends I> inputs, D output)
hypothesis
- the hypothesisinputs
- the input sequenceoutput
- the output corresponding to the input.boolean isOmegaCounterExample(boolean isUltimatelyPeriodic)
isUltimatelyPeriodic
- whether the lasso is ultimately periodicdefault @Nullable DefaultQuery<I,D> findCounterExample(L hypothesis, Collection<? extends I> inputs)
Copyright © 2020. All rights reserved.