10#ifndef KLEE_SOLVERIMPL_H
11#define KLEE_SOLVERIMPL_H
91 const std::vector<const Array*>
93 std::vector< std::vector<unsigned char> >
95 bool &hasSolution) = 0;
SolverImpl - Abstract base clase for solver implementations.
virtual void setCoreSolverTimeout(time::Span timeout)
static const char * getOperationStatusString(SolverRunStatus statusCode)
virtual bool computeTruth(const Query &query, bool &isValid)=0
virtual bool computeInitialValues(const Query &query, const std::vector< const Array * > &objects, std::vector< std::vector< unsigned char > > &values, bool &hasSolution)=0
@ SOLVER_RUN_STATUS_WAITPID_FAILED
@ SOLVER_RUN_STATUS_INTERRUPTED
@ SOLVER_RUN_STATUS_SUCCESS_SOLVABLE
@ SOLVER_RUN_STATUS_FORK_FAILED
@ SOLVER_RUN_STATUS_SUCCESS_UNSOLVABLE
@ SOLVER_RUN_STATUS_FAILURE
@ SOLVER_RUN_STATUS_UNEXPECTED_EXIT_CODE
@ SOLVER_RUN_STATUS_TIMEOUT
void operator=(const SolverImpl &)
virtual bool computeValue(const Query &query, ref< Expr > &result)=0
virtual char * getConstraintLog(const Query &query)
virtual bool computeValidity(const Query &query, Solver::Validity &result)
SolverImpl(const SolverImpl &)
virtual SolverRunStatus getOperationStatusCode()=0
getOperationStatusCode - get the status of the last solver operation