mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 19:02:02 +00:00
create a conflict explanation
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
52653e6e43
commit
59e2dab69a
5 changed files with 22 additions and 18 deletions
|
@ -591,6 +591,14 @@ public:
|
|||
}
|
||||
return dep;
|
||||
}
|
||||
|
||||
std::ostream& print_expl(std::ostream& out, const explanation& exp) const {
|
||||
for (auto p : exp)
|
||||
constraints().display(
|
||||
out, [this](lpvar j) { return get_variable_name(j); }, p.ci());
|
||||
return out;
|
||||
}
|
||||
|
||||
void explain_fixed_column(unsigned j, explanation& ex);
|
||||
u_dependency* join_deps(u_dependency* a, u_dependency *b) { return m_dependencies.mk_join(a, b); }
|
||||
inline constraint_set const& constraints() const { return m_constraints; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue