summaryrefslogtreecommitdiff
path: root/src/prop/sat_solver.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-08-01 14:31:16 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-08-04 13:25:23 -0400
commit429e6250b70ebd6e1f2bb31ddfebfb61bf10a3e5 (patch)
tree19c1058708686afe86499b92d3d0bbe17bbefb11 /src/prop/sat_solver.h
parent8d3446768446f16e71dca48bdf14d4ed767756aa (diff)
Better support for resource-limiting when there aren't any actual conflicts.
Diffstat (limited to 'src/prop/sat_solver.h')
-rw-r--r--src/prop/sat_solver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h
index 929b867c9..8e7e53474 100644
--- a/src/prop/sat_solver.h
+++ b/src/prop/sat_solver.h
@@ -61,6 +61,9 @@ public:
/** Check the satisfiability of the added clauses */
virtual SatValue solve(long unsigned int&) = 0;
+ /** Instruct the solver that it should bump its consumed resource count. */
+ virtual void spendResource() = 0;
+
/** Interrupt the solver */
virtual void interrupt() = 0;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback