flopc::VariableRef Class Reference
[Internal (private) interface.]

#include <MP_variable.hpp>

Inheritance diagram for flopc::VariableRef:
Inheritance graph
[legend]
Collaboration diagram for flopc::VariableRef:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int getColumn () const

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, GenerateFunctor &f, double m) const

Private Attributes

MP_variableV
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

Detailed Description

Semantic representation of a variable in a Math Program

See also:
MP_variable for a public interface.

Definition at line 32 of file MP_variable.hpp.


Constructor & Destructor Documentation

VariableRef::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 
) [private]

Definition at line 21 of file MP_variable.cpp.

References flopc::MP_variable::offset, and offset.


Member Function Documentation

void VariableRef::generate ( const MP_domain domain,
vector< Constant multiplicators,
GenerateFunctor f,
double  m 
) const [private, virtual]
int VariableRef::getColumn (  )  const [virtual]
int flopc::VariableRef::getStage (  )  const [inline, private, virtual]

Implements flopc::TerminalExpression.

Definition at line 52 of file MP_variable.hpp.

double flopc::VariableRef::getValue (  )  const [inline, private, virtual]

Implements flopc::TerminalExpression.

Definition at line 49 of file MP_variable.hpp.

void flopc::VariableRef::insertVariables ( set< MP_variable * > &  v  )  const [inline, private, virtual]

Implements flopc::MP_expression_base.

Definition at line 46 of file MP_variable.hpp.

References V.

double VariableRef::level (  )  const [private, virtual]

Friends And Related Function Documentation

friend class MP_variable [friend]

Definition at line 33 of file MP_variable.hpp.


Member Data Documentation

Definition at line 61 of file MP_variable.hpp.

Referenced by getColumn().

Definition at line 61 of file MP_variable.hpp.

Referenced by getColumn().

Definition at line 61 of file MP_variable.hpp.

Referenced by getColumn().

Definition at line 61 of file MP_variable.hpp.

Referenced by getColumn().

Definition at line 61 of file MP_variable.hpp.

Referenced by getColumn().

Definition at line 60 of file MP_variable.hpp.

Referenced by VariableRef().

Definition at line 59 of file MP_variable.hpp.

Referenced by getColumn(), insertVariables(), and level().


The documentation for this class was generated from the following files:

Generated on 8 Oct 2014 for FLOPC++ by  doxygen 1.6.1