Interface LTSminAlternating<I,O,R>
- Type Parameters:
I- the input type.O- the output type.R- the type of counterexample
- All Superinterfaces:
LTSmin<I,,MealyMachine<?, I, ?, O>, R> LTSminMealy<I,,O, R> ModelChecker<I,,MealyMachine<?, I, ?, O>, String, R> ModelChecker.MealyModelChecker<I,O, String, R>
- All Known Implementing Classes:
LTSminLTLAlternating,LTSminMonitorAlternating
A model checker using LTSmin for Mealy machines using alternating edge semantics.
The implementation uses FSM2MealyParserAlternating, and Mealy2ETFWriterAlternating, to read the
MealyMachine, and write the MealyMachine respectively.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.automatalib.modelchecking.ModelChecker
ModelChecker.DFAModelChecker<I,P, R>, ModelChecker.MealyModelChecker<I, O, P, R> -
Method Summary
Modifier and TypeMethodDescriptiondefault CompactMealy<I,O> fsm2Mealy(File fsm, MealyMachine<?, I, ?, O> originalAutomaton, Collection<? extends I> inputs) Converts the givenfsmto aCompactMealy.default voidmealy2ETF(MealyMachine<?, I, ?, O> automaton, Collection<? extends I> inputs, File etf) Writes the givenMealyMachineto theetffile.booleanWhether this model checker requires the original Mealy machine to read the Mealy machines from an FSM.Methods inherited from interface net.automatalib.modelchecker.ltsmin.LTSmin
getString2Input, isKeepFilesMethods inherited from interface net.automatalib.modelchecker.ltsmin.LTSminMealy
automaton2ETF, getString2OutputMethods inherited from interface net.automatalib.modelchecking.ModelChecker
findCounterExampleMethods inherited from interface net.automatalib.modelchecking.ModelChecker.MealyModelChecker
getSkipOutputs, setSkipOutputs
-
Method Details
-
requiresOriginalAutomaton
boolean requiresOriginalAutomaton()Whether this model checker requires the original Mealy machine to read the Mealy machines from an FSM.- Returns:
- whether the original automaton is required.
-
fsm2Mealy
default CompactMealy<I,O> fsm2Mealy(File fsm, MealyMachine<?, I, throws IOException, FormatException?, O> originalAutomaton, Collection<? extends I> inputs) Description copied from interface:LTSminMealyConverts the givenfsmto aCompactMealy.- Specified by:
fsm2Mealyin interfaceLTSminMealy<I,O, R> - Parameters:
fsm- the FSM to convert.originalAutomaton- the original automaton on which the property is checked.inputs- the alphabet for the returned automaton.- Returns:
- the
CompactMealy. - Throws:
IOException- whenfsmcan not be read.FormatException- whenfsmis invalid.
-
mealy2ETF
default void mealy2ETF(MealyMachine<?, I, throws IOException?, O> automaton, Collection<? extends I> inputs, File etf) Description copied from interface:LTSminMealyWrites the givenMealyMachineto theetffile.- Specified by:
mealy2ETFin interfaceLTSminMealy<I,O, R> - Parameters:
automaton- theMealyMachineto write.inputs- the alphabet.etf- the file to write to.- Throws:
IOException- whenetfcan not be read.
-