FLOPC++
|
Internal representation of a "set". More...
#include <MP_set.hpp>
Public Member Functions | |
MP_set_base () | |
virtual int | size () const =0 |
virtual | operator MP_domain () const =0 |
virtual MP_domain | operator() (const MP_index_exp &i) const =0 |
void | display () const |
int | check (int i) const |
int | checkStage (int i) const |
virtual int | isStage () const |
![]() | |
MP_index () | |
Default constructor. More... | |
int | evaluate () const |
bool | isInstantiated () const |
void | assign (int i) |
void | unInstantiate () |
void | instantiate () |
MP_index * | getIndex () const |
virtual MP_domain | getDomain (MP_set *s) const |
Getter for domain over which this index is applied. More... | |
![]() | |
std::string | getName () const |
void | setName (const std::string &n) |
Public Attributes | |
bool | Cyclic |
Additional Inherited Members | |
![]() | |
static MP_index & | getEmpty () |
returns a reference to the distinct "empty" index. More... | |
![]() | |
static MP_index & | Any = *new MP_index() |
![]() | |
MP_index_base () | |
virtual | ~MP_index_base () |
Internal representation of a "set".
Definition at line 28 of file MP_set.hpp.
|
inline |
Definition at line 30 of file MP_set.hpp.
|
inline |
Definition at line 37 of file MP_set.hpp.
References Cyclic, flopc::mod(), flopc::outOfBound, and size().
Referenced by flopc::VariableRef::getColumn(), flopc::MP_subset< nbr >::insert(), and flopc::MP_data::operator()().
|
inline |
Definition at line 48 of file MP_set.hpp.
References Cyclic, isStage(), flopc::mod(), flopc::outOfBound, and size().
|
virtual |
MP_model::getCurrentModel()->getMessenger()->logMessage(5,toString().c_str());
Reimplemented from flopc::MP_index_base.
Definition at line 21 of file MP_set.cpp.
|
inlinevirtual |
Reimplemented in flopc::MP_stage.
Definition at line 60 of file MP_set.hpp.
Referenced by checkStage().
|
pure virtual |
Implemented in flopc::MP_set.
|
pure virtual |
Implemented in flopc::MP_set.
|
pure virtual |
Implemented in flopc::MP_subset< nbr >, and flopc::MP_set.
Referenced by check(), and checkStage().
bool flopc::MP_set_base::Cyclic |
Definition at line 64 of file MP_set.hpp.
Referenced by check(), checkStage(), and flopc::MP_set::cyclic().