mirror of
https://github.com/Z3Prover/z3
synced 2026-02-07 17:47:58 +00:00
simplify column
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
8d747865ae
commit
7fe703e229
2 changed files with 5 additions and 8 deletions
|
|
@ -40,7 +40,6 @@ class lar_term; // forward definition
|
|||
class column {
|
||||
u_dependency* m_lower_bound_witness = nullptr;
|
||||
u_dependency* m_upper_bound_witness = nullptr;
|
||||
bool m_associated_with_row = false;
|
||||
lar_term* m_term = nullptr;
|
||||
public:
|
||||
lar_term* term() const { return m_term; }
|
||||
|
|
@ -50,13 +49,11 @@ public:
|
|||
u_dependency*& upper_bound_witness() { return m_upper_bound_witness; }
|
||||
u_dependency* upper_bound_witness() const { return m_upper_bound_witness; }
|
||||
|
||||
column() = delete;
|
||||
column(bool) = delete;
|
||||
column() {}
|
||||
|
||||
column(bool associated_with_row, lar_term* term) :
|
||||
m_associated_with_row(associated_with_row), m_term(term) {}
|
||||
column(lar_term* term) : m_term(term) {}
|
||||
|
||||
bool associated_with_row() const { return m_associated_with_row; }
|
||||
bool associated_with_row() const { return m_term != nullptr; }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue