summaryrefslogtreecommitdiff
path: root/src/theory/arith/arithvar_set.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2011-02-18 23:28:19 +0000
committerTim King <taking@cs.nyu.edu>2011-02-18 23:28:19 +0000
commit005066130a774c9e4aa838ca500d5fd3137909be (patch)
tree00f30cf01943464435f9ae50ddfec53822617bd8 /src/theory/arith/arithvar_set.h
parentb2eba85abe17f3cb661b537d4ac6c55c2e222c65 (diff)
Changes:
- ArithVar is no longer an attribute - RowVector's destructor reduces the row count of its variables upon. - Tableau's destructor now free its rows instead of leaking memory. - Added ability to convert ReducedRowVectors into equivalent Nodes. - getValue() should work again.
Diffstat (limited to 'src/theory/arith/arithvar_set.h')
-rw-r--r--src/theory/arith/arithvar_set.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/arith/arithvar_set.h b/src/theory/arith/arithvar_set.h
index 95617c5a0..de215696e 100644
--- a/src/theory/arith/arithvar_set.h
+++ b/src/theory/arith/arithvar_set.h
@@ -54,6 +54,9 @@ public:
size_t size() const {
return d_list.size();
}
+ bool empty() const {
+ return d_list.empty();
+ }
size_t allocated() const {
return d_posVector.size();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback