FLOPC++
|
#include <MP_expression.hpp>
Public Member Functions | |
int | getColumn () const |
![]() | |
virtual double | getValue () const =0 |
virtual int | getStage () const =0 |
![]() | |
MP_expression_base () | |
virtual double | level () const =0 |
virtual void | generate (const MP_domain &domain, vector< Constant > multiplicators, MP::GenerateFunctor &f, double m) const =0 |
virtual void | insertVariables (set< MP_variable * > &v) const =0 |
virtual | ~MP_expression_base () |
Private Member Functions | |
VariableRef (MP_variable *v, const MP_index_exp &i1, const MP_index_exp &i2, const MP_index_exp &i3, const MP_index_exp &i4, const MP_index_exp &i5) | |
double | level () const |
void | insertVariables (set< MP_variable * > &v) const |
double | getValue () const |
int | getStage () const |
void | generate (const MP_domain &domain, vector< Constant > multiplicators, MP::GenerateFunctor &f, double m) const |
Private Attributes | |
MP_variable * | V |
int | offset |
const MP_index_exp | I1 |
const MP_index_exp | I2 |
const MP_index_exp | I3 |
const MP_index_exp | I4 |
const MP_index_exp | I5 |
Friends | |
class | MP_variable |
Semantic representation of a variable in a Math Program
Definition at line 138 of file MP_expression.hpp.
|
private |
Definition at line 21 of file MP_expression.cpp.
References flopc::MP_variable::offset, and offset.
|
private |
Definition at line 55 of file MP_expression.cpp.
References flopc::MP_domain::forall(), flopc::MP::GenerateFunctor::setMultiplicator(), and flopc::MP::GenerateFunctor::setTerminalExpression().
|
virtual |
Implements flopc::TerminalExpression.
Definition at line 40 of file MP_expression.cpp.
References flopc::MP_set_base::check(), flopc::RowMajor::f(), I1, I2, I3, I4, I5, flopc::MP_variable::offset, flopc::outOfBound, flopc::MP_variable::S1, flopc::MP_variable::S2, flopc::MP_variable::S3, flopc::MP_variable::S4, flopc::MP_variable::S5, and V.
|
inlineprivate |
Definition at line 158 of file MP_expression.hpp.
|
inlineprivate |
Definition at line 155 of file MP_expression.hpp.
|
inlineprivate |
Definition at line 152 of file MP_expression.hpp.
References V.
|
private |
Definition at line 31 of file MP_expression.cpp.
References flopc::MP_index::evaluate(), flopc::RowMajor::f(), flopc::MP_variable::M, flopc::MP_variable::offset, flopc::MP_variable::S1, flopc::MP_variable::S2, flopc::MP_variable::S3, flopc::MP_variable::S4, flopc::MP_variable::S5, flopc::MP_model::Solver, and V.
|
friend |
Definition at line 139 of file MP_expression.hpp.
|
private |
Definition at line 167 of file MP_expression.hpp.
Referenced by getColumn().
|
private |
Definition at line 167 of file MP_expression.hpp.
Referenced by getColumn().
|
private |
Definition at line 167 of file MP_expression.hpp.
Referenced by getColumn().
|
private |
Definition at line 167 of file MP_expression.hpp.
Referenced by getColumn().
|
private |
Definition at line 167 of file MP_expression.hpp.
Referenced by getColumn().
|
private |
Definition at line 166 of file MP_expression.hpp.
Referenced by VariableRef().
|
private |
Definition at line 165 of file MP_expression.hpp.
Referenced by getColumn(), insertVariables(), and level().