summaryrefslogtreecommitdiff
path: root/src/theory/valuation.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-06-11 16:28:23 +0000
committerMorgan Deters <mdeters@gmail.com>2012-06-11 16:28:23 +0000
commit3378e253fcdb34c753407bb16d08929da06b3aaa (patch)
treedb7c7118dd0d1594175b56866f845b42426ae0a7 /src/theory/valuation.h
parent42794501e81c44dce5c2f7687af288af030ef63e (diff)
Merge from quantifiers2-trunkmerge branch.
Adds TheoryQuantifiers and TheoryRewriteRules, QuantifiersEngine, and other infrastructure. Adds theory instantiators to many theories. Adds the UF strong solver.
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