diff options
author | Liana Hadarean <lianah@cs.nyu.edu> | 2014-11-17 15:26:42 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2014-11-17 15:26:42 -0500 |
commit | 3ba7ed6b1b09739385ae2ffb77a5c7ccd18b40a5 (patch) | |
tree | 845ae47600ffff9c68fa654c0f78d3474e406beb /src/prop/sat_solver.h | |
parent | d8da3b13bc9df7750723cf3da38edc8cb6f67d3d (diff) |
Resource-limiting work.
Signed-off-by: Morgan Deters <mdeters@cs.nyu.edu>
Diffstat (limited to 'src/prop/sat_solver.h')
-rw-r--r-- | src/prop/sat_solver.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h index adf6dfd07..b71844590 100644 --- a/src/prop/sat_solver.h +++ b/src/prop/sat_solver.h @@ -62,12 +62,6 @@ 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. - * Returns true if resources are exhausted. - */ - virtual bool spendResource() = 0; - /** Interrupt the solver */ virtual void interrupt() = 0; @@ -102,6 +96,7 @@ public: * Notify about a learnt clause. */ virtual void notify(SatClause& clause) = 0; + virtual void spendResource() = 0; virtual void safePoint() = 0; };/* class BVSatSolverInterface::Notify */ |