diff options
author | Morgan Deters <mdeters@gmail.com> | 2009-11-17 17:09:13 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2009-11-17 17:09:13 +0000 |
commit | 105503064be6a198dd864d1e95d6d79e1af51d25 (patch) | |
tree | 040d1dfc2d696c2efef84cf2cb044072d97a337a /src/prop/prop_engine.h | |
parent | 61330b862f7b5565f70e3c1f4d26a8c51a0f534a (diff) |
from meeting
Diffstat (limited to 'src/prop/prop_engine.h')
-rw-r--r-- | src/prop/prop_engine.h | 43 |
1 files changed, 43 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 */ |