Interface LTSminIO<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:
LTSminLTLIO
,LTSminMonitorIO
public interface LTSminIO<I,O,R> extends LTSminMealy<I,O,R>
A model checker using LTSmin for Mealy machines using synchronous edge semantics.The implementation uses
FSM2MealyParserIO
, andMealy2ETFWriterIO
, to read theMealyMachine
, and write theMealyMachine
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default CompactMealy<I,O>
fsm2Mealy(File fsm, MealyMachine<?,I,?,O> originalAutomaton, Collection<? extends I> inputs)
Converts the givenfsm
to aCompactMealy
.default void
mealy2ETF(MealyMachine<?,I,?,O> automaton, Collection<? extends I> inputs, File etf)
Writes the givenMealyMachine
to theetf
file.-
Methods inherited from interface net.automatalib.modelchecker.ltsmin.LTSmin
getString2Input, isKeepFiles
-
Methods inherited from interface net.automatalib.modelchecker.ltsmin.LTSminMealy
automaton2ETF, getString2Output
-
Methods inherited from interface net.automatalib.modelchecking.ModelChecker
findCounterExample
-
Methods inherited from interface net.automatalib.modelchecking.ModelChecker.MealyModelChecker
getSkipOutputs, setSkipOutputs
-
-
-
-
Method Detail
-
fsm2Mealy
default CompactMealy<I,O> fsm2Mealy(File fsm, MealyMachine<?,I,?,O> originalAutomaton, Collection<? extends I> inputs) throws IOException, FormatException
Description copied from interface:LTSminMealy
Converts the givenfsm
to aCompactMealy
.- Specified by:
fsm2Mealy
in 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
- whenfsm
can not be read.FormatException
- whenfsm
is invalid.
-
mealy2ETF
default void mealy2ETF(MealyMachine<?,I,?,O> automaton, Collection<? extends I> inputs, File etf) throws IOException
Description copied from interface:LTSminMealy
Writes the givenMealyMachine
to theetf
file.- Specified by:
mealy2ETF
in interfaceLTSminMealy<I,O,R>
- Parameters:
automaton
- theMealyMachine
to write.inputs
- the alphabet.etf
- the file to write to.- Throws:
IOException
- whenetf
can not be read.
-
-