mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 12:11:23 +00:00
added support for saving state graph in dot format (#4621)
* added support for saving state graph in dot format * moved write_dgml and write_dot under CASSERT * updated dgml and dot generation a bit so that a state that is both and alive state is detected as having green background but red border when the invariant is vioalted
This commit is contained in:
parent
3852d4516d
commit
e5693b8a98
2 changed files with 65 additions and 9 deletions
|
@ -112,10 +112,16 @@ private:
|
|||
bool is_subset(state_set set1, state_set set2) const;
|
||||
bool is_disjoint(state_set set1, state_set set2) const;
|
||||
bool check_invariant() const;
|
||||
/*
|
||||
Output the whole state graph in dgml format into the file '.z3-state-graph.dgml'
|
||||
*/
|
||||
bool write_dgml();
|
||||
/*
|
||||
Output the whole state graph in dot format into the file '.z3-state-graph.dot'
|
||||
*/
|
||||
bool write_dot();
|
||||
#endif
|
||||
|
||||
void write_dgml();
|
||||
|
||||
/*
|
||||
'Core' functions that modify the plain graph, without
|
||||
updating SCCs or propagating live/dead state information.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue