mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 15:25:46 +00:00
missing files
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7148226823
commit
f5f1d019d8
2 changed files with 13 additions and 5 deletions
|
@ -28,9 +28,9 @@ unsigned min_cut::new_node() {
|
|||
return m_edges.size() - 1;
|
||||
}
|
||||
|
||||
void min_cut::add_edge(unsigned int i, unsigned int j) {
|
||||
void min_cut::add_edge(unsigned int i, unsigned int j, unsigned capacity) {
|
||||
m_edges.reserve(i + 1);
|
||||
m_edges[i].push_back(edge(j, 1));
|
||||
m_edges[i].push_back(edge(j, capacity));
|
||||
TRACE("spacer.mincut", tout << "adding edge (" << i << "," << j << ")\n";);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue