dlinear  0.0.1
Delta-complete SMT solver for linear programming
Loading...
Searching...
No Matches
Logic.h
1
7#pragma once
8
9#include <ostream>
10#include <string>
11
12namespace dlinear {
13
17enum class Logic {
18 QF_NRA,
20 QF_LRA,
21 QF_RDL,
22 QF_LIA,
23 LRA,
24};
25
31Logic parseLogic(const std::string &s);
32std::ostream &operator<<(std::ostream &os, const Logic &logic);
33
34} // namespace dlinear
35
36#ifdef DLINEAR_INCLUDE_FMT
37
38#include "dlinear/util/logging.h"
39
40OSTREAM_FORMATTER(dlinear::Logic)
41
42#endif
Global namespace for the dlinear library.
Logic
The SMT-LIB logic the SMT2 file is using.
Definition Logic.h:17
@ QF_RDL
Quantifier free real difference logic.
@ QF_NRA
Quantifier free non-linear real arithmetic.
@ QF_LRA
Quantifier free linear real arithmetic. It is the only one dlinear supports.
@ QF_LIA
Quantifier free linear integer arithmetic.
@ LRA
Linear real arithmetic.
@ QF_NRA_ODE
Quantifier free non-linear real arithmetic with ODEs.
Logic parseLogic(const std::string &s)
Parse the logic from a string.
Definition Logic.cpp:12