summaryrefslogtreecommitdiff
path: root/src/theory/bv/bv_inequality_graph.h
diff options
context:
space:
mode:
authorlianah <lianahady@gmail.com>2013-03-26 22:14:24 -0400
committerlianah <lianahady@gmail.com>2013-03-26 22:14:24 -0400
commit2bed73156740d7e93e303b02319c407a1d587109 (patch)
tree99876e3263f20b0c507caac27c147a991fc759dd /src/theory/bv/bv_inequality_graph.h
parent33a5c0897bdbfb8367dfa90342471615908df1bc (diff)
parent70d1a0171840cd62b5c1d89b875ffb50da216793 (diff)
added model generation for bv subtheories and bv-inequality solver option
Diffstat (limited to 'src/theory/bv/bv_inequality_graph.h')
-rw-r--r--src/theory/bv/bv_inequality_graph.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/theory/bv/bv_inequality_graph.h b/src/theory/bv/bv_inequality_graph.h
index b23ea7704..860302aa4 100644
--- a/src/theory/bv/bv_inequality_graph.h
+++ b/src/theory/bv/bv_inequality_graph.h
@@ -88,11 +88,11 @@ class InequalityGraph : public context::ContextNotifyObj{
{}
};
- typedef context::CDHashMap<TermId, ModelValue> Model;
+ typedef context::CDHashMap<TermId, ModelValue> ModelValues;
struct QueueComparator {
- const Model* d_model;
- QueueComparator(const Model* model)
+ const ModelValues* d_model;
+ QueueComparator(const ModelValues* model)
: d_model(model)
{}
bool operator() (TermId left, TermId right) const {
@@ -128,7 +128,7 @@ class InequalityGraph : public context::ContextNotifyObj{
std::vector<TNode> d_conflict;
bool d_signed;
- Model d_modelValues;
+ ModelValues d_modelValues;
void initializeModelValue(TNode node);
void setModelValue(TermId term, const ModelValue& mv);
ModelValue getModelValue(TermId term) const;
@@ -290,7 +290,9 @@ public:
*
* @return
*/
- BitVector getValueInModel(TNode a) const;
+ BitVector getValueInModel(TNode a) const;
+
+ void getAllValuesInModel(std::vector<Node>& assignments);
};
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback