diff options
author | Morgan Deters <mdeters@gmail.com> | 2009-11-17 16:40:19 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2009-11-17 16:40:19 +0000 |
commit | 0201aa29bea8467e5cc07f2d0af68a4da3e86ec1 (patch) | |
tree | 548f42c4244176fb91956e9571451842fd85e482 /src/core/prop_engine.h | |
parent | 7293554b109742697d4d928ed7b58acadc6de947 (diff) |
fixes/redesign of source layout from meeting
Diffstat (limited to 'src/core/prop_engine.h')
-rw-r--r-- | src/core/prop_engine.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/core/prop_engine.h b/src/core/prop_engine.h new file mode 100644 index 000000000..0febd2927 --- /dev/null +++ b/src/core/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 */ |