--- /dev/null
+/********************* */
+/*! \file theory_arrays.cpp
+ ** \verbatim
+ ** Original author: barrett
+ ** Major contributors:
+ ** Minor contributors (to current version):
+ ** This file is part of the CVC4 prototype.
+ ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys)
+ ** Courant Institute of Mathematical Sciences
+ ** New York University
+ ** See the file COPYING in the top-level source directory for licensing
+ ** information.\endverbatim
+ **
+ ** \brief Implementation of the theory of arrays.
+ **
+ ** Implementation of the theory of arrays.
+ **/
+
+#include "theory/arrays/theory_arrays.h"
+#include "expr/kind.h"
+
+using namespace std;
+using namespace CVC4;
+using namespace CVC4::kind;
+using namespace CVC4::context;
+using namespace CVC4::theory;
+using namespace CVC4::theory::arrays;
+
+TheoryArrays::TheoryArrays(Context* c, OutputChannel& out) :
+ Theory(c, out)
+{
+}
+
+TheoryArrays::~TheoryArrays() {
+}
+
+void TheoryArrays::check(Effort e) {
+ while(!done()) {
+ Node assertion = get();
+ Debug("arrays") << "TheoryArrays::check(): " << assertion << endl;
+ }
+ Debug("arrays") << "TheoryArrays::check(): done" << endl;
+}
#define __CVC4__THEORY__ARRAYS__THEORY_ARRAYS_H
#include "theory/theory.h"
-#include "context/context.h"
+
+namespace context {
+class Context;
+}
namespace CVC4 {
namespace theory {
class TheoryArrays : public Theory {
public:
- TheoryArrays(context::Context* c, OutputChannel& out) :
- Theory(c, out) {
- }
-
- void preRegisterTerm(TNode n) { Unimplemented(); }
- void registerTerm(TNode n) { Unimplemented(); }
- void check(Effort e) { Unimplemented(); }
- void propagate(Effort e) { Unimplemented(); }
- void explain(TNode n, Effort e) { Unimplemented(); }
+ TheoryArrays(context::Context* c, OutputChannel& out);
+ ~TheoryArrays();
+ void preRegisterTerm(TNode n) { }
+ void registerTerm(TNode n) { }
+ void check(Effort e);
+ void propagate(Effort e) { }
+ void explain(TNode n, Effort e) { }
};
}/* CVC4::theory::arrays namespace */