3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +00:00

Remove active flag from constraint

Superseded by boolean assignment and pwatch
This commit is contained in:
Jakob Rath 2022-11-22 14:45:21 +01:00
parent da762700d6
commit e4999b07aa
3 changed files with 4 additions and 31 deletions

View file

@ -59,7 +59,6 @@ namespace polysat {
ckind_t m_kind;
unsigned_vector m_vars;
lbool m_external_sign = l_undef;
bool m_is_active = false;
bool m_is_pwatched = false;
/** The boolean variable associated to this constraint */
sat::bool_var m_bvar = sat::null_bool_var;
@ -114,9 +113,6 @@ namespace polysat {
bool is_external() const { return m_external_sign != l_undef; }
bool external_sign() const { SASSERT(is_external()); return m_external_sign == l_true; }
bool is_active() const { return m_is_active; }
void set_active(bool f) { m_is_active = f; }
bool is_pwatched() const { return m_is_pwatched; }
void set_pwatched(bool f) { m_is_pwatched = f; }