diff options
Diffstat (limited to 'src/theory/valuation.cpp')
-rw-r--r-- | src/theory/valuation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/valuation.cpp b/src/theory/valuation.cpp index 536255c2d..0aefd7f21 100644 --- a/src/theory/valuation.cpp +++ b/src/theory/valuation.cpp @@ -27,6 +27,10 @@ Node Valuation::getValue(TNode n) const { return d_engine->getValue(n); } +bool Valuation::hasSatValue(TNode n, bool& value) const { + return d_engine->getPropEngine()->hasValue(n, value); +} + Node Valuation::getSatValue(TNode n) const{ if(n.getKind() == kind::NOT) { Node atomRes = d_engine->getPropEngine()->getValue(n[0]); |