divine.simulator [-hv] [-o filename] [-s filename] [-i filename] [-I filename] model_source
Enables step by step simulation of the model, also useful for counterexample exploration. Currently runs only with
DVE inputs, Promela is not supported yet.
Program simulates any run in the input automaton, printouts variable values and executed trace.
Options:
- h ... short help
- v ... prints the version of the program
- o <filename> ... executed trace is written to the given file (by default to trace.txt)
- s <filename> ... variables "to show" are taken from this file
- i <filename> ... from this file will be taken commands to execution (silent version)
- I <filename> ... similar to previous, but not silent - program prints to the output as normally and waits to press Enter after each command
Commands During the Simulation:
- nr_of_transition ... execution of that transition (or by typing transition name)
- q ... quit the program
- i ... go to the initial state
- r ... choosing and executing a random transition
- p .... <proc_name.var_name> - prints the actual value of given variable
- s <proc_name.var_name> - adds the variable to the list "to show"
- h <proc_name.var_name> - deletes/hides the variable from the list "to show"
- The latest three commands understand "*" instead of var_name or whole argument and then print/show/hide all values of that process or whole system. Moreover typing "state" instead of var_name program will print/show/hide actual state of the process.
One special command: "================" (e.g. sixteen characters '=' ) will be processed correctly and unchanged written to the output. It serves to separate several sequences of transitions in the output file such as divide the counterexample of LTL-formula to prefix and real cycle.
divine.generator [-ahdgstSDE] [-v number] [-H size] model_source
Generates a complete state space of a given model. This is done simply on a single workstation. No distribution is supported by this tool. Runs with both DVE and Promela sources.
Options:
- a ... print flags A/N telling, whether a state is accepting or not after each state
- d ... output in
dot
format - h ... print a brief help
- g ... print a graph as a list of lists of successors
- s ... print all states
- t ... print all transitions
- v
number
... verbosity level (0-15) - q ... do not print anything, unless it is forced by another option
- D ... print
DEAD
after each deadlock state - E ... print
LEADING TO ERROR
after each state leading to an erroneous state - H
size
... size of a hash table - S ... print statistics
divine.draw_state_space [-abcdhltv] -w bound -D level
Prints a state space to the
dot
format using auxiliary tool
divine.predot
. Then it compiles it into the PostScript and runs
gv
to show the result.
Options:
- a ... draw accepting states
- b ... colorize backlevel edged
- c ... colorize components
- d ... colorize deadlocks
- h ... print a brief help
- l ... PostScipt in a landscape oriaentation
- t ... show transition labels
- v ... print version of
divine.predot
- w
bound
... parameter is a bound to the length of line in labels of states - D
level
... parameter is a maximal level of the graph to generate