diff options
Diffstat (limited to 'src/include/prop_engine.h')
-rw-r--r-- | src/include/prop_engine.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/include/prop_engine.h b/src/include/prop_engine.h new file mode 100644 index 000000000..1ec0316a9 --- /dev/null +++ b/src/include/prop_engine.h @@ -0,0 +1,37 @@ +/********************* -*- C++ -*- */ +/** prop_engine.h + ** This file is part of the CVC4 prototype. + ** + ** The Analysis of Computer Systems Group (ACSys) + ** Courant Institute of Mathematical Sciences + ** New York University + **/ + +#ifndef __CVC4_PROP_ENGINE_H +#define __CVC4_PROP_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 */ |