|
idol
A C++ Framework for Optimization
|


Public Types | |
| using | KeyT = std::conditional_t< std::is_same_v< GeneratedT, Var >, Ctr, Var > |
Public Member Functions | |
| GenerationPattern (idol::AffExpr< CoefficientT > t_constant, SparseVector< KeyT, idol::AffExpr< CoefficientT > > t_linear) | |
| auto & | constant () |
| const auto & | constant () const |
| auto & | linear () |
| const auto & | linear () const |
| double | generate_constant (const Point< CoefficientT > &t_values) const |
| LinExpr< KeyT > | generate_linear (const Point< CoefficientT > &t_values) const |
| AffExpr< KeyT > | operator() (const Point< CoefficientT > &t_values) const |
| GenerationPattern | operator+= (const AffExpr< CoefficientT > &t_other) |
| GenerationPattern | operator-= (const AffExpr< CoefficientT > &t_other) |
| GenerationPattern | operator+= (const GenerationPattern &t_other) |
| GenerationPattern | operator+= (double t_scalar) |
| GenerationPattern | operator-= (const GenerationPattern &t_other) |
| GenerationPattern | operator*= (const double t_scalar) |
| GenerationPattern | operator/= (const double t_scalar) |
| GenerationPattern | operator*= (const KeyT &t_key) |
Protected Attributes | |
| idol::AffExpr< CoefficientT > | m_constant |
| SparseVector< KeyT, idol::AffExpr< CoefficientT > > | m_linear |
Definition at line 19 of file GenerationPattern.h.
| using idol::GenerationPattern< GeneratedT, CoefficientT >::KeyT = std::conditional_t<std::is_same_v<GeneratedT, Var>, Ctr, Var> |
Definition at line 21 of file GenerationPattern.h.
|
inline |
Definition at line 25 of file GenerationPattern.h.
|
inline |
Definition at line 28 of file GenerationPattern.h.
|
inline |
Definition at line 30 of file GenerationPattern.h.
|
inline |
Definition at line 36 of file GenerationPattern.h.
|
inline |
Definition at line 40 of file GenerationPattern.h.
|
inline |
Definition at line 32 of file GenerationPattern.h.
|
inline |
Definition at line 34 of file GenerationPattern.h.
|
inline |
Definition at line 50 of file GenerationPattern.h.
|
inline |
Definition at line 89 of file GenerationPattern.h.
|
inline |
Definition at line 101 of file GenerationPattern.h.
|
inline |
Definition at line 56 of file GenerationPattern.h.
|
inline |
Definition at line 72 of file GenerationPattern.h.
|
inline |
Definition at line 78 of file GenerationPattern.h.
|
inline |
Definition at line 64 of file GenerationPattern.h.
|
inline |
Definition at line 83 of file GenerationPattern.h.
|
inline |
Definition at line 95 of file GenerationPattern.h.
|
protected |
Definition at line 114 of file GenerationPattern.h.
|
protected |
Definition at line 115 of file GenerationPattern.h.