FLOPC++
|
#include <MP_variable.hpp>
Public Member Functions | |
int | getColumn () const |
![]() | |
MP_expression_base () | |
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 (std::set< MP_variable * > &v) const |
double | getValue () const |
int | getStage () const |
void | generate (const MP_domain &domain, std::vector< Constant > multiplicators, 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 35 of file MP_variable.hpp.
|
private |
Definition at line 21 of file MP_variable.cpp.
References offset, and flopc::MP_variable::offset.
|
privatevirtual |
Implements flopc::MP_expression_base.
Definition at line 55 of file MP_variable.cpp.
References flopc::MP_domain::Forall(), flopc::GenerateFunctor::setMultiplicator(), and flopc::GenerateFunctor::setTerminalExpression().
|
virtual |
Implements flopc::TerminalExpression.
Definition at line 40 of file MP_variable.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.
|
inlineprivatevirtual |
Implements flopc::TerminalExpression.
Definition at line 55 of file MP_variable.hpp.
|
inlineprivatevirtual |
Implements flopc::TerminalExpression.
Definition at line 52 of file MP_variable.hpp.
|
inlineprivatevirtual |
|
privatevirtual |
Implements flopc::MP_expression_base.
Definition at line 31 of file MP_variable.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::solution, and V.
|
friend |
Definition at line 36 of file MP_variable.hpp.
|
private |
Definition at line 64 of file MP_variable.hpp.
Referenced by getColumn().
|
private |
Definition at line 64 of file MP_variable.hpp.
Referenced by getColumn().
|
private |
Definition at line 64 of file MP_variable.hpp.
Referenced by getColumn().
|
private |
Definition at line 64 of file MP_variable.hpp.
Referenced by getColumn().
|
private |
Definition at line 64 of file MP_variable.hpp.
Referenced by getColumn().
|
private |
Definition at line 63 of file MP_variable.hpp.
Referenced by VariableRef().
|
private |
Definition at line 62 of file MP_variable.hpp.
Referenced by getColumn(), insertVariables(), and level().