summaryrefslogtreecommitdiff
path: root/src/theory/valuation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/valuation.h')
-rw-r--r--src/theory/valuation.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/theory/valuation.h b/src/theory/valuation.h
index ab47dcbdd..dd3848e7f 100644
--- a/src/theory/valuation.h
+++ b/src/theory/valuation.h
@@ -112,6 +112,14 @@ public:
*/
Node ensureLiteral(TNode n) CVC4_WARN_UNUSED_RESULT;
+ /**
+ * Returns whether the given lit (which must be a SAT literal) is a decision
+ * literal or not. Throws an exception if lit is not a SAT literal. "lit" may
+ * be in either phase; that is, if "lit" is a SAT literal, this function returns
+ * true both for lit and the negation of lit.
+ */
+ bool isDecision(Node lit) const;
+
};/* class Valuation */
}/* CVC4::theory namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback