dlinear  0.0.1
Delta-complete SMT solver for linear programming
Loading...
Searching...
No Matches
SatResult.cpp
1
6#include "SatResult.h"
7
8#include "dlinear/util/exception.h"
9
10namespace dlinear {
11
12std::ostream &operator<<(std::ostream &os, const SatResult &logic) {
13 switch (logic) {
15 return os << "no-result";
17 return os << "unsolved";
19 return os << "unsat";
21 return os << "sat";
23 return os << "delta-sat";
24 default:
25 DLINEAR_UNREACHABLE();
26 }
27}
28
29} // namespace dlinear
Global namespace for the dlinear library.
SatResult
Result of running the theory solver over the literals decided by the SAT solver.
Definition SatResult.h:17
@ SAT_NO_RESULT
No result has been obtained yet.
@ SAT_SATISFIABLE
The problem is satisfiable.
@ SAT_UNSATISFIABLE
The problem is unsatisfiable.
@ SAT_UNSOLVED
The problem has not been solved. An error may have occurred.
@ SAT_DELTA_SATISFIABLE
The problem is satisfiable, but with a delta >= 0.