klee
DummySolver.cpp
Go to the documentation of this file.
1//===-- DummySolver.cpp ---------------------------------------------------===//
2//
3// The KLEE Symbolic Virtual Machine
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "klee/Solver/Solver.h"
13
14namespace klee {
15
17public:
19
20 bool computeValidity(const Query &, Solver::Validity &result);
21 bool computeTruth(const Query &, bool &isValid);
22 bool computeValue(const Query &, ref<Expr> &result);
23 bool computeInitialValues(const Query &,
24 const std::vector<const Array *> &objects,
25 std::vector<std::vector<unsigned char> > &values,
26 bool &hasSolution);
28};
29
31
34 // FIXME: We should have stats::queriesFail;
35 return false;
36}
37
38bool DummySolverImpl::computeTruth(const Query &, bool &isValid) {
40 // FIXME: We should have stats::queriesFail;
41 return false;
42}
43
47 return false;
48}
49
51 const Query &, const std::vector<const Array *> &objects,
52 std::vector<std::vector<unsigned char> > &values, bool &hasSolution) {
55 return false;
56}
57
60}
61
63}
bool computeValue(const Query &, ref< Expr > &result)
Definition: DummySolver.cpp:44
bool computeInitialValues(const Query &, const std::vector< const Array * > &objects, std::vector< std::vector< unsigned char > > &values, bool &hasSolution)
Definition: DummySolver.cpp:50
bool computeValidity(const Query &, Solver::Validity &result)
Definition: DummySolver.cpp:32
SolverRunStatus getOperationStatusCode()
getOperationStatusCode - get the status of the last solver operation
Definition: DummySolver.cpp:58
bool computeTruth(const Query &, bool &isValid)
Definition: DummySolver.cpp:38
SolverImpl - Abstract base clase for solver implementations.
Definition: SolverImpl.h:25
@ SOLVER_RUN_STATUS_FAILURE
Definition: SolverImpl.h:36
Statistic queryCounterexamples
Statistic queries
Definition: main.cpp:291
Solver * createDummySolver()
Definition: DummySolver.cpp:62