mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
Api (#7097)
* rename ul_pair to column Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * t Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * simple test passed * remove an assert * relax an assertion * remove an obsolete function Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * access a term by the term column * remove the column index from colunm.h * remove an unused method * remove debug code * fix the build of lp_tst Signed-off-by: Lev Nachmanson <levnach@hotmail.com> --------- Signed-off-by: Lev Nachmanson <levnach@hotmail.com> Co-authored-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
133546625c
commit
bdb9106f99
45 changed files with 587 additions and 973 deletions
|
@ -31,7 +31,7 @@ namespace lp_api {
|
|||
class bound {
|
||||
Literal m_bv;
|
||||
theory_var m_var;
|
||||
lp::lpvar m_vi;
|
||||
lp::lpvar m_column_index;
|
||||
bool m_is_int;
|
||||
rational m_value;
|
||||
bound_kind m_bound_kind;
|
||||
|
@ -41,7 +41,7 @@ namespace lp_api {
|
|||
bound(Literal bv, theory_var v, lp::lpvar vi, bool is_int, rational const& val, bound_kind k, lp::constraint_index ct, lp::constraint_index cf) :
|
||||
m_bv(bv),
|
||||
m_var(v),
|
||||
m_vi(vi),
|
||||
m_column_index(vi),
|
||||
m_is_int(is_int),
|
||||
m_value(val),
|
||||
m_bound_kind(k) {
|
||||
|
@ -53,7 +53,7 @@ namespace lp_api {
|
|||
|
||||
theory_var get_var() const { return m_var; }
|
||||
|
||||
lp::tv tv() const { return lp::tv::raw(m_vi); }
|
||||
lp::lpvar column_index() const { return m_column_index; }
|
||||
|
||||
Literal get_lit() const { return m_bv; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue