diff options
Diffstat (limited to 'src/prop/cnf_stream.h')
-rw-r--r-- | src/prop/cnf_stream.h | 15 |
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 */ |