summaryrefslogtreecommitdiff
path: root/src/prop
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2009-11-17 17:09:13 +0000
committerMorgan Deters <mdeters@gmail.com>2009-11-17 17:09:13 +0000
commit105503064be6a198dd864d1e95d6d79e1af51d25 (patch)
tree040d1dfc2d696c2efef84cf2cb044072d97a337a /src/prop
parent61330b862f7b5565f70e3c1f4d26a8c51a0f534a (diff)
from meeting
Diffstat (limited to 'src/prop')
-rw-r--r--src/prop/prop_engine.h43
-rw-r--r--src/prop/sat.h19
2 files changed, 62 insertions, 0 deletions
diff --git a/src/prop/prop_engine.h b/src/prop/prop_engine.h
new file mode 100644
index 000000000..0febd2927
--- /dev/null
+++ b/src/prop/prop_engine.h
@@ -0,0 +1,43 @@
+/********************* -*- C++ -*- */
+/** prop_engine.h
+ ** This file is part of the CVC4 prototype.
+ ** Copyright (c) 2009 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.
+ **
+ **/
+
+#ifndef __CVC4_PROP_ENGINE_H
+#define __CVC4_PROP_ENGINE_H
+
+#include "core/cvc4_expr.h"
+#include "core/decision_engine.h"
+#include "core/theory_engine.h"
+
+namespace CVC4 {
+
+// In terms of abstraction, this is below (and provides services to)
+// Prover and above (and requires the services of) a specific
+// propositional solver, DPLL or otherwise.
+
+class PropEngine {
+ DecisionEngine* d_de;
+
+public:
+ /**
+ * Create a PropEngine with a particular decision and theory engine.
+ */
+ PropEngine(DecisionEngine*, TheoryEngine*);
+
+ /**
+ * Converts to CNF if necessary.
+ */
+ void solve(Expr);
+
+};/* class PropEngine */
+
+}
+
+#endif /* __CVC4_PROP_ENGINE_H */
diff --git a/src/prop/sat.h b/src/prop/sat.h
new file mode 100644
index 000000000..00a94c142
--- /dev/null
+++ b/src/prop/sat.h
@@ -0,0 +1,19 @@
+/********************* -*- C++ -*- */
+/** sat.h
+ ** This file is part of the CVC4 prototype.
+ ** Copyright (c) 2009 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.
+ **
+ **/
+
+#ifndef __CVC4_SAT_H
+#define __CVC4_SAT_H
+
+namespace CVC4 {
+
+} /* CVC4 namespace */
+
+#endif /* __CVC4_SAT_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback