mirror of
https://github.com/Z3Prover/z3
synced 2025-08-28 14:08:55 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
09ee60ccce
commit
4b5ee91b44
4 changed files with 88 additions and 24 deletions
|
@ -444,9 +444,10 @@ namespace sat {
|
|||
void flush_roots();
|
||||
typedef std::pair<literal, literal> bin_clause;
|
||||
struct bin_clause_hash { unsigned operator()(bin_clause const& b) const { return b.first.hash() + 2*b.second.hash(); } };
|
||||
protected:
|
||||
watch_list & get_wlist(literal l) { return m_watches[l.index()]; }
|
||||
watch_list const & get_wlist(literal l) const { return m_watches[l.index()]; }
|
||||
|
||||
watch_list const& get_wlist(literal l) const { return m_watches[l.index()]; }
|
||||
watch_list& get_wlist(literal l) { return m_watches[l.index()]; }
|
||||
protected:
|
||||
watch_list & get_wlist(unsigned l_idx) { return m_watches[l_idx]; }
|
||||
bool is_marked(bool_var v) const { return m_mark[v]; }
|
||||
void mark(bool_var v) { SASSERT(!is_marked(v)); m_mark[v] = true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue