I made a documentation change to get() to make explicit the contract requirements...
authorTim King <taking@cs.nyu.edu>
Tue, 15 Jun 2010 16:36:49 +0000 (16:36 +0000)
committerTim King <taking@cs.nyu.edu>
Tue, 15 Jun 2010 16:36:49 +0000 (16:36 +0000)
src/theory/theory.h

index bdd695cdd3d56fc8871c5f30f9cd9e4fc34773e6..1bf6f660c532b6b1dcbf17c6e4d55878667230a3 100644 (file)
@@ -264,6 +264,12 @@ public:
 
   /**
    * Check the current assignment's consistency.
+   *
+   * An implementation of check() is required to either:
+   * - return a conflict on the output channel,
+   * - be interrupted,
+   * - throw an exception
+   * - or call get() until done() is true.
    */
   virtual void check(Effort level = FULL_EFFORT) = 0;