Package de.learnlib.util.moore
Class MooreUtil
- java.lang.Object
-
- de.learnlib.util.moore.MooreUtil
-
public final class MooreUtil extends Object
Utility class helping to unify various approaches to actively learning Moore machines.
-
-
Field Summary
Fields Modifier and Type Field Description static int
NO_MISMATCH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <O> int
findMismatch(Word<O> out1, Word<O> out2)
static <I,O>
@Nullable DefaultQuery<I,O>reduceCounterExample(MooreMachine<?,I,?,O> hypothesis, DefaultQuery<I,Word<O>> ceQuery)
static <I,O>
@Nullable DefaultQuery<I,Word<O>>shortenCounterExample(MooreMachine<?,I,?,O> hypothesis, DefaultQuery<I,Word<O>> ceQuery)
static <M extends MooreMachine<?,I,?,O>,I,O>
LearningAlgorithm.MooreLearner<I,O>wrapSymbolLearner(LearningAlgorithm<M,I,O> learner)
static <I,O>
MembershipOracle<I,O>wrapWordOracle(MembershipOracle<I,Word<O>> oracle)
-
-
-
Field Detail
-
NO_MISMATCH
public static final int NO_MISMATCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
shortenCounterExample
public static <I,O> @Nullable DefaultQuery<I,Word<O>> shortenCounterExample(MooreMachine<?,I,?,O> hypothesis, DefaultQuery<I,Word<O>> ceQuery)
-
reduceCounterExample
public static <I,O> @Nullable DefaultQuery<I,O> reduceCounterExample(MooreMachine<?,I,?,O> hypothesis, DefaultQuery<I,Word<O>> ceQuery)
-
wrapSymbolLearner
public static <M extends MooreMachine<?,I,?,O>,I,O> LearningAlgorithm.MooreLearner<I,O> wrapSymbolLearner(LearningAlgorithm<M,I,O> learner)
-
wrapWordOracle
public static <I,O> MembershipOracle<I,O> wrapWordOracle(MembershipOracle<I,Word<O>> oracle)
-
-