3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-14 06:45:25 +00:00

add notes

This commit is contained in:
Jakob Rath 2023-07-21 15:54:28 +02:00
parent eb4ea606d5
commit 857f25f54a
3 changed files with 46 additions and 3 deletions

View file

@ -271,6 +271,8 @@ namespace polysat {
/** Extract reason for conflict */
void explain(sat::literal_vector& out_lits, unsigned_vector& out_vars);
/** Extract conflict clause */
clause_ref conflict_clause();
/** Extract reason for x == y */
void explain_equal(pvar x, pvar y, sat::literal_vector& out_lits, unsigned_vector& out_vars);
@ -290,10 +292,10 @@ namespace polysat {
using var_overlap_vector = svector<var_overlap>;
/** For a given variable v, find the set of variables that share at least one slice with v. */
void query_overlaps(pvar v, var_overlap_vector& out);
void collect_overlaps(pvar v, var_overlap_vector& out);
/** Query fixed portions of the variable v */
void query_fixed(pvar v, rational& mask, rational& value);
/** Collect fixed portions of the variable v */
void collect_fixed(pvar v, rational& mask, rational& value);
std::ostream& display(std::ostream& out) const;
std::ostream& display_tree(std::ostream& out) const;