On this page we plan to make scripts available that allow one to translate between different types of models, and to decide whether two models of the same type are equivalent.
Statemachinelib is a java library which has a commandline interface with the 'stm' command.
The libary supports the following :
The 'stm' commandline tool requires a java 8 installation and can be downloaded as stm.zip. You can install it by just extracting the zip file and putting the 'bin/' subdir to your system's PATH environment variable.
The 'stm' commandline tool supports the following subcommands: (will be extended in the future)
$ stm --help usage: stm [-h] ... statemachine tool named arguments: -h, --help show this help message and exit subcommands: convert convert lossless the statemachine representation info displays information about the statemachine: number of states, number of transitions, ...
The help for the 'convert' command:
$ stm convert --help usage: stm convert [-h] {fa2moore,moore2mealy,mealy2moore,mealy2ia} inputfile outputfile convert lossless the statemachine representation positional arguments: {fa2moore,moore2mealy,mealy2moore,mealy2ia} type of conversion inputfile input file outputfile output file named arguments: -h, --help show this help message and exit
The help for the 'info' command:
$ stm info --help usage: stm info [-h] {fa,moore,mealy,ia,register} file displays information about the statemachine: number of states, number of transitions, ... positional arguments: {fa,moore,mealy,ia,register} type of statemachine file model file named arguments: -h, --help show this help message and exit
Using the Sut tool we can easily generate a running SUT from a register model to which you can then communicate over network sockets. By using the CADP tool set it also supports flattening of register models to a fixed integer domain.