diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-10-05 23:51:57 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-10-05 23:51:57 +0000 |
commit | a8d7333d8fb03c95ef3d1d7d9501076b97add756 (patch) | |
tree | 9f217a8cdb8905dea26529684584b401c4a47323 /src/theory/valuation.h | |
parent | 9bdf1355af20c4dd2b97ea9bc5f34cc20fbdde0f (diff) |
ensureLiteral() in CNF stream to support Andy's quantifiers work; an update to model gen on booleans; and a little cleanup
Diffstat (limited to 'src/theory/valuation.h')
-rw-r--r-- | src/theory/valuation.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/theory/valuation.h b/src/theory/valuation.h index f819eff9d..71b194905 100644 --- a/src/theory/valuation.h +++ b/src/theory/valuation.h @@ -69,6 +69,17 @@ public: */ bool hasSatValue(TNode n, bool& value) const; + /** + * Ensure that the given node will have a designated SAT literal + * that is definitionally equal to it. The result of this function + * is a Node that can be queried via getSatValue(). + * + * @return the actual node that's been "literalized," which may + * differ from the input due to theory-rewriting and preprocessing, + * as well as CNF conversion + */ + Node ensureLiteral(TNode n) CVC4_WARN_UNUSED_RESULT; + };/* class Valuation */ }/* CVC4::theory namespace */ |