diff options
Diffstat (limited to 'src/theory/uf/theory_uf.h')
-rw-r--r-- | src/theory/uf/theory_uf.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/theory/uf/theory_uf.h b/src/theory/uf/theory_uf.h index 5add2e92a..108102b9f 100644 --- a/src/theory/uf/theory_uf.h +++ b/src/theory/uf/theory_uf.h @@ -132,6 +132,13 @@ public: Node rewrite(TNode n); /** + * Plug in old rewrite to the new (pre,post)rewrite interface. + */ + RewriteResponse postRewrite(TNode n, bool topLevel) { + return RewritingComplete(topLevel ? rewrite(n) : Node(n)); + } + + /** * Propagates theory literals. Currently does nothing. * * Overloads void propagate(Effort level); from theory.h. @@ -147,6 +154,8 @@ public: */ void explain(TNode n, Effort level) {} + std::string identify() const { return std::string("TheoryUF"); } + private: /** * Checks whether 2 nodes are already in the same equivalence class tree. |