3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-12 18:24:43 +00:00

missing files

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-10-25 09:00:35 -07:00
parent 7148226823
commit f5f1d019d8
2 changed files with 13 additions and 5 deletions

View file

@ -27,12 +27,20 @@ class min_cut {
public:
min_cut();
unsigned new_node();
/*
\brief add an edge (with unit capacity)
\brief create a node
*/
void add_edge(unsigned i, unsigned j);
unsigned new_node();
/*
\brief add an i -> j edge with (unit) capacity
*/
void add_edge(unsigned i, unsigned j, unsigned capacity = 1);
/*
\brief produce a min cut between source node = 0 and target node = 1.
NB. the function changes capacities on edges.
*/
void compute_min_cut(unsigned_vector& cut_nodes);
private: