diff options
author | Morgan Deters <mdeters@gmail.com> | 2009-11-09 21:47:30 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2009-11-09 21:47:30 +0000 |
commit | 5b5474281c4cdc880bff8b9e38b84dc84f88e50c (patch) | |
tree | b0b6f4a53a45af07b81a855154738366bea8eb5d /DESIGN_QUESTIONS | |
parent | 842e581321bcd9f30c60b9dacc671843ca776fed (diff) |
minor fixes, added contrib directory
Diffstat (limited to 'DESIGN_QUESTIONS')
-rw-r--r-- | DESIGN_QUESTIONS | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/DESIGN_QUESTIONS b/DESIGN_QUESTIONS index 670089c34..0e8f50245 100644 --- a/DESIGN_QUESTIONS +++ b/DESIGN_QUESTIONS @@ -58,7 +58,7 @@ theory.h // TODO: these use the current EM (but must be renamed) - // TODO design decisoin: instead of returning a set of literals + // TODO design decision: instead of returning a set of literals // here, perhaps we have an interface back into the prop engine // where we assert directly. we might sometimes unknowingly assert // something clearly inconsistent (esp. in a parallel context). @@ -66,3 +66,17 @@ theory.h // we're already inconsistent---also could strategize dynamically on // whether enough theory prop work has occurred. virtual void propagate(Effort level = FULL_EFFORT) = 0; + + could provide a continuation (essentially) to propagate literals. + argument Propagator prop + class Propagator { + PropEngine d_pe; + public: + // may not return due to a longjmp (?) or perhaps an exception + // returns next continuation + Propagator operator()(Literal l); + }; + + +========================== +TODO: add throw() specifications |