diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-05-09 21:25:17 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-05-09 21:25:17 +0000 |
commit | 1ce0650dcf8ce30424b546deb540974cc510c215 (patch) | |
tree | 74a9985463234fc9adfed2de209c134ed7da359b /src/context/context.cpp | |
parent | 690fb2843d9845e405fee54eb2d8023eebbd5b72 (diff) |
* simplifying equality engine interface
* notifications are now through the interface subclass instead of a template
* notifications include constants being merged
* changed contextNotifyObj::notify to contextNotifyObj::contextNotifyPop so it's more descriptive and doesn't clutter methods when subclassed
* sat solver now has explicit methods to make true and false constants
* 0-level literals are removed from explanations of propagations
Diffstat (limited to 'src/context/context.cpp')
-rw-r--r-- | src/context/context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context/context.cpp b/src/context/context.cpp index abb1575d4..da60a5bc4 100644 --- a/src/context/context.cpp +++ b/src/context/context.cpp @@ -80,7 +80,7 @@ void Context::pop() { while(pCNO != NULL) { // pre-store the "next" pointer in case pCNO deletes itself on notify() ContextNotifyObj* next = pCNO->d_pCNOnext; - pCNO->notify(); + pCNO->contextNotifyPop(); pCNO = next; } @@ -101,7 +101,7 @@ void Context::pop() { while(pCNO != NULL) { // pre-store the "next" pointer in case pCNO deletes itself on notify() ContextNotifyObj* next = pCNO->d_pCNOnext; - pCNO->notify(); + pCNO->contextNotifyPop(); pCNO = next; } |