summaryrefslogtreecommitdiff
path: root/src/theory/arith/nl/cad/cdcac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/nl/cad/cdcac.h')
-rw-r--r--src/theory/arith/nl/cad/cdcac.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/theory/arith/nl/cad/cdcac.h b/src/theory/arith/nl/cad/cdcac.h
index 3ea281cec..17fef608f 100644
--- a/src/theory/arith/nl/cad/cdcac.h
+++ b/src/theory/arith/nl/cad/cdcac.h
@@ -118,6 +118,19 @@ class CDCAC
private:
/**
+ * Check whether the current sample satisfies the integrality condition of the
+ * current variable. Returns true if the variable is not integral or the
+ * sample is integral.
+ */
+ bool checkIntegrality(std::size_t cur_variable, const poly::Value& value);
+ /**
+ * Constructs an interval that excludes the non-integral region around the
+ * current sample. Assumes !check_integrality(cur_variable, value).
+ */
+ CACInterval buildIntegralityInterval(std::size_t cur_variable,
+ const poly::Value& value);
+
+ /**
* The current assignment. When the method terminates with SAT, it contains a
* model for the input constraints.
*/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback