mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
Use templates on spanning trees
This commit is contained in:
parent
55e91c099f
commit
bc9bfe7f97
5 changed files with 64 additions and 45 deletions
|
@ -47,7 +47,7 @@ namespace smt {
|
|||
m_balances.resize(num_nodes);
|
||||
m_potentials.resize(num_nodes);
|
||||
|
||||
tree = thread_spanning_tree();
|
||||
tree = thread_spanning_tree<Ext>();
|
||||
m_step = 0;
|
||||
}
|
||||
|
||||
|
@ -302,7 +302,6 @@ namespace smt {
|
|||
bool network_flow<Ext>::edge_in_tree(node src, node dst) const {
|
||||
return edge_in_tree(get_edge_id(src, dst));
|
||||
}
|
||||
|
||||
|
||||
template<typename Ext>
|
||||
bool network_flow<Ext>::check_well_formed() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue