summaryrefslogtreecommitdiff
path: root/src/prop/cnf_stream.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2010-03-08 23:03:48 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2010-03-08 23:03:48 +0000
commitde0160112edbed8ce9b62bf87172ae2f0e99a013 (patch)
treec9fc1e4b7f365dbd34a79b8360f3ac8a006aad68 /src/prop/cnf_stream.h
parentfc810750142ee15917c6d77d21d987c369ce774b (diff)
adding simple-uf to the regressions, and the code that apparently solves it
Diffstat (limited to 'src/prop/cnf_stream.h')
-rw-r--r--src/prop/cnf_stream.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/prop/cnf_stream.h b/src/prop/cnf_stream.h
index 93c1f529a..2581046c1 100644
--- a/src/prop/cnf_stream.h
+++ b/src/prop/cnf_stream.h
@@ -143,14 +143,13 @@ public:
* @param literal the literal from the sat solver
* @return the actual node
*/
- Node getNode(const SatLiteral& literal) {
- Node node;
- NodeCache::iterator find = d_nodeCache.find(literal);
- if (find != d_nodeCache.end()) {
- node = find->second;
- }
- return node;
- }
+ Node getNode(const SatLiteral& literal);
+
+ /**
+ * Returns the literal the represents the given node in the SAT CNF
+ * representation.
+ */
+ SatLiteral getLiteral(const TNode& node);
}; /* class CnfStream */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback