mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 19:02:02 +00:00
Made num_clauses in sat_solver public
This commit is contained in:
parent
ca4a7ca74e
commit
5e0aaee2c7
1 changed files with 2 additions and 2 deletions
|
@ -210,6 +210,7 @@ namespace sat {
|
||||||
public:
|
public:
|
||||||
bool inconsistent() const { return m_inconsistent; }
|
bool inconsistent() const { return m_inconsistent; }
|
||||||
unsigned num_vars() const { return m_level.size(); }
|
unsigned num_vars() const { return m_level.size(); }
|
||||||
|
unsigned num_clauses() const;
|
||||||
bool is_external(bool_var v) const { return m_external[v] != 0; }
|
bool is_external(bool_var v) const { return m_external[v] != 0; }
|
||||||
bool was_eliminated(bool_var v) const { return m_eliminated[v] != 0; }
|
bool was_eliminated(bool_var v) const { return m_eliminated[v] != 0; }
|
||||||
unsigned scope_lvl() const { return m_scope_lvl; }
|
unsigned scope_lvl() const { return m_scope_lvl; }
|
||||||
|
@ -446,8 +447,7 @@ namespace sat {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void display_binary(std::ostream & out) const;
|
void display_binary(std::ostream & out) const;
|
||||||
void display_units(std::ostream & out) const;
|
void display_units(std::ostream & out) const;
|
||||||
unsigned num_clauses() const;
|
|
||||||
bool is_unit(clause const & c) const;
|
bool is_unit(clause const & c) const;
|
||||||
bool is_empty(clause const & c) const;
|
bool is_empty(clause const & c) const;
|
||||||
bool check_missed_propagation(clause_vector const & cs) const;
|
bool check_missed_propagation(clause_vector const & cs) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue