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 |
Public Attributes | |
bool | Cyclic |
Internal representation of a "set".
Definition at line 28 of file MP_set.hpp.
flopc::MP_set_base::MP_set_base | ( | ) | [inline] |
Definition at line 30 of file MP_set.hpp.
int flopc::MP_set_base::check | ( | int | i | ) | const [inline] |
Definition at line 37 of file MP_set.hpp.
References Cyclic, flopc::mod(), flopc::outOfBound, and size().
Referenced by flopc::DataRef::evaluate(), flopc::DataRef::evaluate_lhs(), flopc::VariableRef::getColumn(), flopc::MP_subset< nbr >::insert(), flopc::MP_data::operator()(), and flopc::MP_constraint::row_number().
int flopc::MP_set_base::checkStage | ( | int | i | ) | const [inline] |
Definition at line 48 of file MP_set.hpp.
References Cyclic, isStage(), flopc::mod(), flopc::outOfBound, and size().
Referenced by flopc::DataRef::getStage().
void flopc::MP_set_base::display | ( | ) | const [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.
virtual int flopc::MP_set_base::isStage | ( | ) | const [inline, virtual] |
Reimplemented in flopc::MP_stage.
Definition at line 60 of file MP_set.hpp.
Referenced by checkStage().
virtual flopc::MP_set_base::operator MP_domain | ( | ) | const [pure virtual] |
Implemented in flopc::MP_set.
virtual MP_domain flopc::MP_set_base::operator() | ( | const MP_index_exp & | i | ) | const [pure virtual] |
Implemented in flopc::MP_set.
virtual int flopc::MP_set_base::size | ( | ) | const [pure virtual] |
Implemented in flopc::MP_set, and flopc::MP_subset< nbr >.
Referenced by check(), and checkStage().
Definition at line 64 of file MP_set.hpp.
Referenced by check(), checkStage(), and flopc::MP_set::cyclic().