diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-10-13 04:14:38 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-10-13 04:14:38 +0000 |
commit | 3cbb76ef86a769cfe3dac5976a14e1bc43c42ca6 (patch) | |
tree | e08efdc63abd663de4f5750db9326b69c79829e5 /src/prop/sat.cpp | |
parent | 3a7aafccadbfa1543c435b7dfe4f53116224a11f (diff) |
Interruption, time-out, and deterministic time-out ("resource-out") features.
Details here: http://goedel.cims.nyu.edu/wiki/Meeting_Minutes_-_October_14,_2011#Resource.2Ftime_limiting_API
This will need more work, but it's a start.
Also implemented TheoryEngine::properPropagation().
Other minor things.
Diffstat (limited to 'src/prop/sat.cpp')
-rw-r--r-- | src/prop/sat.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/prop/sat.cpp b/src/prop/sat.cpp index 386fb5aad..5d53bf100 100644 --- a/src/prop/sat.cpp +++ b/src/prop/sat.cpp @@ -83,6 +83,7 @@ TNode SatSolver::getNode(SatLiteral lit) { } void SatSolver::notifyRestart() { + d_propEngine->checkTime(); d_theoryEngine->notifyRestart(); } @@ -108,6 +109,9 @@ void SatSolver::logDecision(SatLiteral lit) { #endif /* CVC4_REPLAY */ } +void SatSolver::checkTime() { + d_propEngine->checkTime(); +} }/* CVC4::prop namespace */ }/* CVC4 namespace */ |