summaryrefslogtreecommitdiff
path: root/src/theory/valuation.cpp
diff options
context:
space:
mode:
authorDejan Jovanović <dejan@cs.nyu.edu>2013-03-26 16:47:47 -0400
committerDejan Jovanović <dejan@cs.nyu.edu>2013-03-26 16:47:47 -0400
commite586b8cdbed537bd2a6cba01f68eb3b34ecf08d8 (patch)
treeca7be72bdc2c95dd196885d97f029da6e3c2ee13 /src/theory/valuation.cpp
parente0cee0f58e1f542a598f2543231c5a8417761d1f (diff)
adding
* getModelValue to valuation * getModelValue to theory engine * getModelValue to theory implemented getModelValue in bitvector the purpose of getModelValue is to ask for a concrete value of a shared term
Diffstat (limited to 'src/theory/valuation.cpp')
-rw-r--r--src/theory/valuation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/valuation.cpp b/src/theory/valuation.cpp
index 389a17461..c5d2845bd 100644
--- a/src/theory/valuation.cpp
+++ b/src/theory/valuation.cpp
@@ -83,6 +83,11 @@ EqualityStatus Valuation::getEqualityStatus(TNode a, TNode b) {
return d_engine->getEqualityStatus(a, b);
}
+Node Valuation::getModelValue(TNode var) {
+ return d_engine->getModelValue(var);
+}
+
+
Node Valuation::ensureLiteral(TNode n) {
Debug("ensureLiteral") << "rewriting: " << n << std::endl;
Node rewritten = Rewriter::rewrite(n);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback