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/Core/TimingSolver.h | |
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/Core/TimingSolver.h')
-rw-r--r-- | lib/Core/TimingSolver.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Core/TimingSolver.h b/lib/Core/TimingSolver.h index b13879df..2684e071 100644 --- a/lib/Core/TimingSolver.h +++ b/lib/Core/TimingSolver.h @@ -42,7 +42,11 @@ namespace klee { } void setTimeout(double t) { - stpSolver->setTimeout(t); + stpSolver->setCoreSolverTimeout(t); + } + + char *getConstraintLog(const Query& query) { + return solver->getConstraintLog(query); } bool evaluate(const ExecutionState&, ref<Expr>, Solver::Validity &result); |