mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
merged dependency.h from main repo
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
1dbffe7367
commit
0039b68ca3
6 changed files with 51 additions and 59 deletions
|
@ -109,22 +109,19 @@ struct common {
|
|||
}
|
||||
};
|
||||
|
||||
struct ci_dependency_config {
|
||||
struct u_dependency_config {
|
||||
typedef ci_value_manager value_manager;
|
||||
typedef region allocator;
|
||||
static const bool ref_count = false;
|
||||
typedef lp::constraint_index value;
|
||||
};
|
||||
|
||||
typedef dependency_manager<ci_dependency_config> ci_dependency_manager;
|
||||
|
||||
typedef ci_dependency_manager::dependency ci_dependency;
|
||||
// nex* nexvar(lpvar j, nex_creator&, svector<lp::constraint_index> & fixed_vars_constraints);
|
||||
nex* nexvar(const rational& coeff, lpvar j, nex_creator&, bool);
|
||||
template <typename T>
|
||||
ci_dependency* create_sum_from_row(const T&, nex_creator&, nex_creator::sum_factory&, bool, ci_dependency_manager*);
|
||||
u_dependency* create_sum_from_row(const T&, nex_creator&, nex_creator::sum_factory&, bool, u_dependency_manager*);
|
||||
template <typename T>
|
||||
ci_dependency* get_fixed_vars_dep_from_row(const T&, ci_dependency_manager& dep_manager);
|
||||
u_dependency* get_fixed_vars_dep_from_row(const T&, u_dependency_manager& dep_manager);
|
||||
void set_active_vars_weights();
|
||||
var_weight get_var_weight(lpvar) const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue