summaryrefslogtreecommitdiff
path: root/src/prop/sat_solver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prop/sat_solver.h')
-rw-r--r--src/prop/sat_solver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h
index 898709c43..2865f2cb5 100644
--- a/src/prop/sat_solver.h
+++ b/src/prop/sat_solver.h
@@ -46,6 +46,12 @@ public:
/** Create a new boolean variable in the solver. */
virtual SatVariable newVar(bool theoryAtom = false) = 0;
+ /** Create a new (or return an existing) boolean variable representing the constant true */
+ virtual SatVariable trueVar() = 0;
+
+ /** Create a new (or return an existing) boolean variable representing the constant false */
+ virtual SatVariable falseVar() = 0;
+
/** Check the satisfiability of the added clauses */
virtual SatValue solve() = 0;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback