From f9a4fe48a4ec2355f8fec93d3f47242577df2511 Mon Sep 17 00:00:00 2001 From: Dejan Jovanović Date: Wed, 5 Jan 2011 03:21:35 +0000 Subject: Commit for the theory engine and rewriter changes. Changes are substantial and not yet finalized but I need to put it in to work further with the theory writers. Please check the files that you 'own'. Any comments or discussion is welcome. Further details will be coming in a follow up email later. --- src/theory/arrays/theory_arrays.h | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'src/theory/arrays/theory_arrays.h') diff --git a/src/theory/arrays/theory_arrays.h b/src/theory/arrays/theory_arrays.h index 22a0148e1..d3472f952 100644 --- a/src/theory/arrays/theory_arrays.h +++ b/src/theory/arrays/theory_arrays.h @@ -31,32 +31,18 @@ namespace arrays { class TheoryArrays : public Theory { public: - TheoryArrays(int id, context::Context* c, OutputChannel& out); + TheoryArrays(context::Context* c, OutputChannel& out); ~TheoryArrays(); void preRegisterTerm(TNode n) { } void registerTerm(TNode n) { } - RewriteResponse preRewrite(TNode in, bool topLevel) { - Debug("arrays-rewrite") << "pre-rewriting " << in - << " topLevel==" << topLevel << std::endl; - return RewriteComplete(in); - } - - RewriteResponse postRewrite(TNode in, bool topLevel) { - Debug("arrays-rewrite") << "post-rewriting " << in - << " topLevel==" << topLevel << std::endl; - return RewriteComplete(in); - } - - void presolve() { - Unimplemented(); - } + void presolve() { } void addSharedTerm(TNode t); void notifyEq(TNode lhs, TNode rhs); void check(Effort e); void propagate(Effort e) { } - void explain(TNode n, Effort e) { } + void explain(TNode n) { } Node getValue(TNode n, TheoryEngine* engine); void shutdown() { } std::string identify() const { return std::string("TheoryArrays"); } -- cgit v1.2.3