summaryrefslogtreecommitdiff
path: root/src/theory/arrays/theory_arrays.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2011-01-05 03:21:35 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2011-01-05 03:21:35 +0000
commitf9a4fe48a4ec2355f8fec93d3f47242577df2511 (patch)
treeeb49b7760b16aa17666d59464c96979b445fbcc8 /src/theory/arrays/theory_arrays.h
parenteecc1e4f301711dbb2bf1508ea0ba6cd20acd593 (diff)
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.
Diffstat (limited to 'src/theory/arrays/theory_arrays.h')
-rw-r--r--src/theory/arrays/theory_arrays.h20
1 files changed, 3 insertions, 17 deletions
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"); }
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback