carl  24.04
Computer ARithmetic Library
LPAssignment.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <carl-common/config.h>
4 #ifdef USE_LIBPOLY
5 
7 #include <map>
8 #include <optional>
9 #include "../../core/Variable.h"
10 #include <poly/poly.h>
11 #include <poly/polynomial_context.h>
12 #include <poly/assignment.h>
13 #include <carl-arith/core/Common.h>
14 #include "LPRan.h"
15 
16 
17 namespace carl {
18 
19 class LPAssignment : public Singleton<LPAssignment> {
20  friend Singleton<LPAssignment>;
21 
22  lp_assignment_t lp_assignment;
24 
25 public:
26  LPAssignment();
27  ~LPAssignment();
28  lp_assignment_t& get(const carl::Assignment<LPRealAlgebraicNumber>& ass);
29 };
30 
31 } // namespace carl
32 
33 #endif
carl is the main namespace for the library.
std::map< Variable, T > Assignment
Definition: Common.h:13
auto & get(const std::string &name)