From ca83defeab023dbfbbd21d8a497a42af9abdf7fd Mon Sep 17 00:00:00 2001 From: Hristina Palikareva Date: Tue, 6 Aug 2013 17:59:08 +0100 Subject: 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(). --- lib/Core/TimingSolver.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/Core') 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, Solver::Validity &result); -- cgit 1.4.1