diff options
author | Hristina Palikareva <h.palikareva@imperial.ac.uk> | 2013-08-06 17:59:08 +0100 |
---|---|---|
committer | Hristina Palikareva <h.palikareva@imperial.ac.uk> | 2013-08-06 17:59:08 +0100 |
commit | ca83defeab023dbfbbd21d8a497a42af9abdf7fd (patch) | |
tree | b23889c72bf3f743ae09e76eea04880a4822144c /lib/Solver/QueryLoggingSolver.cpp | |
parent | 9abe9572e68748002d8bbb789587e2a036ff760d (diff) | |
download | klee-ca83defeab023dbfbbd21d8a497a42af9abdf7fd.tar.gz |
Methods getConstraintLog() and setTimeout() made virtual and moved from STPSolver to base Solver and SolverImpl classes, and consequently redefined in derived classes to call the corresponding methods down the solver chain. Method setTimeout() renamed to setCoreSolverTimeout().
Diffstat (limited to 'lib/Solver/QueryLoggingSolver.cpp')
-rw-r--r-- | lib/Solver/QueryLoggingSolver.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Solver/QueryLoggingSolver.cpp b/lib/Solver/QueryLoggingSolver.cpp index 245ad3bf..e7187fc3 100644 --- a/lib/Solver/QueryLoggingSolver.cpp +++ b/lib/Solver/QueryLoggingSolver.cpp @@ -183,4 +183,11 @@ SolverImpl::SolverRunStatus QueryLoggingSolver::getOperationStatusCode() { return solver->impl->getOperationStatusCode(); } +char *QueryLoggingSolver::getConstraintLog(const Query& query) { + return solver->impl->getConstraintLog(query); +} + +void QueryLoggingSolver::setCoreSolverTimeout(double timeout) { + solver->impl->setCoreSolverTimeout(timeout); +} |