idol
A C++ Framework for Optimization
|
Public Member Functions | |
AffExpr (ValueT t_constant) | |
AffExpr (const KeyT &t_key) | |
AffExpr (LinExpr< KeyT > t_expr) | |
AffExpr (const AffExpr &t_src)=default | |
AffExpr (AffExpr &&) noexcept=default | |
AffExpr & | operator= (const AffExpr &t_rhs)=default |
AffExpr & | operator= (AffExpr &&) noexcept=default |
AffExpr & | operator+= (const AffExpr &t_rhs) |
AffExpr & | operator-= (const AffExpr &t_rhs) |
AffExpr & | operator*= (double t_rhs) |
AffExpr & | operator/= (double t_rhs) |
AffExpr | operator- () const |
LinExpr< KeyT, ValueT > & | linear () |
const LinExpr< KeyT, ValueT > & | linear () const |
ValueT & | constant () |
const ValueT & | constant () const |
bool | is_zero (double t_tolerance) const |
void | clear () |
Static Public Attributes | |
static const AffExpr< KeyT, ValueT > | Zero {} |
idol::AffExpr< Key1, ValueT >::AffExpr | ( | ) |
idol::AffExpr< Key1, ValueT >::AffExpr | ( | ValueT | t_constant | ) |
idol::AffExpr< KeyT, ValueT >::AffExpr | ( | const KeyT & | t_key | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
idol::AffExpr< Key1, ValueT > & idol::AffExpr< Key1, ValueT >::operator*= | ( | double | t_rhs | ) |
idol::AffExpr< Key1, ValueT > & idol::AffExpr< Key1, ValueT >::operator+= | ( | const AffExpr< KeyT, ValueT > & | t_rhs | ) |
idol::AffExpr< Key1, ValueT > idol::AffExpr< Key1, ValueT >::operator- | ( | ) | const |
idol::AffExpr< Key1, ValueT > & idol::AffExpr< Key1, ValueT >::operator-= | ( | const AffExpr< KeyT, ValueT > & | t_rhs | ) |
idol::AffExpr< Key1, ValueT > & idol::AffExpr< Key1, ValueT >::operator/= | ( | double | t_rhs | ) |
|
static |