15SolverImpl::~SolverImpl() {}
34 return "OPERATION SUCCESSFUL, QUERY IS SOLVABLE";
36 return "OPERATION SUCCESSFUL, QUERY IS UNSOLVABLE";
38 return "OPERATION FAILED";
40 return "SOLVER TIMEOUT";
44 return "SOLVER PROCESS INTERRUPTED";
46 return "UNEXPECTED SOLVER PROCESS EXIT CODE";
48 return "WAITPID FAILED FOR SOLVER PROCESS";
50 return "UNRECOGNIZED OPERATION STATUS";
static const char * getOperationStatusString(SolverRunStatus statusCode)
virtual bool computeTruth(const Query &query, bool &isValid)=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
virtual bool computeValidity(const Query &query, Solver::Validity &result)
Query negateExpr() const
negateExpr - Return a copy of the query with the expression negated.