3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-03 08:55:14 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-07-02 02:48:45 -07:00
parent 05bcf0bed7
commit 788de7d614
9 changed files with 174 additions and 45 deletions

View file

@ -97,8 +97,8 @@ namespace polysat {
search_state m_search;
assignment_t const& assignment() const { return m_search.assignment(); }
unsigned m_qhead { 0 }; // next item to propagate (index into m_search)
unsigned m_level { 0 };
unsigned m_qhead = 0; // next item to propagate (index into m_search)
unsigned m_level = 0;
svector<trail_instr_t> m_trail;
unsigned_vector m_qhead_trail;
@ -157,8 +157,7 @@ namespace polysat {
void decide_bool(sat::literal lit, clause& lemma);
void propagate_bool(sat::literal lit, clause* reason);
void assign_core(pvar v, rational const& val, justification
const& j);
void assign_core(pvar v, rational const& val, justification const& j);
bool is_assigned(pvar v) const { return !m_justification[v].is_unassigned(); }