FLOPC++
|
#include <MP_utilities.hpp>
Public Member Functions | |
int | size () const |
Protected Member Functions | |
RowMajor (int s1, int s2, int s3, int s4, int s5) | |
int | f (int i1=0, int i2=0, int i3=0, int i4=0, int i5=0) const |
Protected Attributes | |
int | size1 |
int | size2 |
int | size3 |
int | size4 |
int | size5 |
int | size_ |
Utility class to flatten multidimensional information into single dimentional offset information.
Definition at line 72 of file MP_utilities.hpp.
flopc::RowMajor::RowMajor | ( | int | s1, |
int | s2, | ||
int | s3, | ||
int | s4, | ||
int | s5 | ||
) | [inline, protected] |
Definition at line 76 of file MP_utilities.hpp.
int flopc::RowMajor::f | ( | int | i1 = 0 , |
int | i2 = 0 , |
||
int | i3 = 0 , |
||
int | i4 = 0 , |
||
int | i5 = 0 |
||
) | const [inline, protected] |
Definition at line 79 of file MP_utilities.hpp.
References flopc::outOfBound, size2, size3, size4, and size5.
Referenced by flopc::MP_constraint::coefficients(), flopc::DataRef::evaluate(), flopc::DataRef::evaluate_lhs(), flopc::VariableRef::getColumn(), flopc::MP_variable::level(), flopc::VariableRef::level(), flopc::MP_constraint::operator int(), flopc::MP_variable::operator()(), flopc::MP_data::operator()(), flopc::MP_constraint::price(), and flopc::MP_constraint::row_number().
int flopc::RowMajor::size | ( | ) | const [inline] |
Definition at line 74 of file MP_utilities.hpp.
References size_.
Referenced by flopc::MP_model::add(), flopc::MP_constraint::display(), flopc::MP_data::initialize(), and flopc::MP_data::value().
int flopc::RowMajor::size1 [protected] |
Definition at line 90 of file MP_utilities.hpp.
int flopc::RowMajor::size2 [protected] |
Definition at line 90 of file MP_utilities.hpp.
Referenced by f().
int flopc::RowMajor::size3 [protected] |
Definition at line 90 of file MP_utilities.hpp.
Referenced by f().
int flopc::RowMajor::size4 [protected] |
Definition at line 90 of file MP_utilities.hpp.
Referenced by f().
int flopc::RowMajor::size5 [protected] |
Definition at line 90 of file MP_utilities.hpp.
Referenced by f().
int flopc::RowMajor::size_ [protected] |
Definition at line 90 of file MP_utilities.hpp.
Referenced by size().