diff options
Diffstat (limited to 'src/prop/sat_solver.h')
-rw-r--r-- | src/prop/sat_solver.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h index e3b0f3449..adf6dfd07 100644 --- a/src/prop/sat_solver.h +++ b/src/prop/sat_solver.h @@ -62,8 +62,11 @@ 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; + /** + * Instruct the solver that it should bump its consumed resource count. + * Returns true if resources are exhausted. + */ + virtual bool spendResource() = 0; /** Interrupt the solver */ virtual void interrupt() = 0; |