diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2014-08-01 14:31:16 -0400 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2014-08-04 13:25:23 -0400 |
commit | 429e6250b70ebd6e1f2bb31ddfebfb61bf10a3e5 (patch) | |
tree | 19c1058708686afe86499b92d3d0bbe17bbefb11 /src/prop/sat_solver.h | |
parent | 8d3446768446f16e71dca48bdf14d4ed767756aa (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.h | 3 |
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; |