mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
prepare to hook up pdd_grobner
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
610a2837ea
commit
c6ea5c2263
8 changed files with 71 additions and 39 deletions
|
@ -63,9 +63,10 @@ public:
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
bool separated_from_zero(pdd const& p, u_dependency*& dep) {
|
||||
return m_dep_intervals.check_interval_for_conflict_on_zero(get_interval<w_dep::with_deps>(p), dep);
|
||||
// f meant to be called when the separation happens
|
||||
template <typename T>
|
||||
bool separated_from_zero(pdd const& p, u_dependency*& dep, std::function<void (const T)>& f) {
|
||||
return m_dep_intervals.check_interval_for_conflict_on_zero(get_interval<w_dep::with_deps>(p), dep, f);
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue