diff options
author | Clark Barrett <barrett@cs.nyu.edu> | 2010-07-07 21:55:11 +0000 |
---|---|---|
committer | Clark Barrett <barrett@cs.nyu.edu> | 2010-07-07 21:55:11 +0000 |
commit | 5b4b7727433f06c1788647b08e7da1ee1cc37bc9 (patch) | |
tree | 065c5cf1f4257bf6e406336f0c57367055ffddf9 /src/theory/theory.h | |
parent | 97eb2d77fddb9c690cc2ebc2caff98d62467b671 (diff) |
Shared term manager tested and working
It is currently tracking all asserted equalities for simplicity.
Might want to check if this is a performance hit
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r-- | src/theory/theory.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h index 6da47fbd8..64a3b8f06 100644 --- a/src/theory/theory.h +++ b/src/theory/theory.h @@ -358,15 +358,15 @@ public: virtual void addSharedTerm(TNode n) { } /** - * This method is called by the shared term manager when a shared term t + * This method is called by the shared term manager when a shared term lhs * which this theory cares about (either because it received a previous - * addSharedTerm call with t or because it received a previous notifyEq call - * with t as the second argument) becomes equal to another shared term u. + * addSharedTerm call with lhs or because it received a previous notifyEq call + * with lhs as the second argument) becomes equal to another shared term rhs. * This call also serves as notice to the theory that the shared term manager - * now considers u the representative for this equivalence class of shared - * terms, so future notifications for this class will be based on u not t. + * now considers rhs the representative for this equivalence class of shared + * terms, so future notifications for this class will be based on rhs not lhs. */ - virtual void notifyEq(TNode t, TNode u) { } + virtual void notifyEq(TNode lhs, TNode rhs) { } /** * Check the current assignment's consistency. |