diff options
author | Tim King <taking@cs.nyu.edu> | 2010-02-17 21:29:57 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2010-02-17 21:29:57 +0000 |
commit | 21e0c5dd0de5edef8ec12f48b76887109b67db52 (patch) | |
tree | 61925a690688577e8cf96072a1afb75ede17f35d /src/theory/theory.h | |
parent | 2dadba52dd55084bbec52b3b338add5f8be77c13 (diff) |
Initial draft of TheoryUF. Should compile without problems. A decent amount of functionality is stubbed out. Still needs a bit of cleanup.
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r-- | src/theory/theory.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h index 8aa76ea81..8b83f71cf 100644 --- a/src/theory/theory.h +++ b/src/theory/theory.h @@ -18,6 +18,7 @@ #include "expr/node.h" #include "theory/output_channel.h" +#include "context/context.h" namespace CVC4 { namespace theory { @@ -101,6 +102,19 @@ public: const Node& n, Effort level = FULL_EFFORT) = 0; +protected: + /** + * Returns the next atom in the assertFact() queue. + * Guarentees that registerTerm is called on the theory specific subterms. + * @return the next atom in the assertFact() queue. + */ + Node get(); + + /** + * Returns true if the assertFactQueue is empty + */ + bool done() { return true; } + };/* class Theory */ }/* CVC4::theory namespace */ |