mirror of
https://github.com/Z3Prover/z3
synced 2025-05-10 01:05:47 +00:00
Add pretty printing for network_flow
Reuse the original graph as much as possible
This commit is contained in:
parent
1878d64b02
commit
905f230b8f
4 changed files with 190 additions and 67 deletions
|
@ -281,6 +281,8 @@ public:
|
|||
|
||||
unsigned get_num_edges() const { return m_edges.size(); }
|
||||
|
||||
unsigned get_num_nodes() const { return m_out_edges.size(); }
|
||||
|
||||
dl_var get_source(edge_id id) const { return m_edges[id].get_source(); }
|
||||
|
||||
dl_var get_target(edge_id id) const { return m_edges[id].get_target(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue