#include <SmiScnData.hpp>
Collaboration diagram for SmiNodeData:
Public Types | |
typedef map< int, CoinPackedVector * > | SmiRowMap |
typedef map< int, vector< double > * > | SmiDenseRowMap |
Public Member Functions | |
void | setCoreNode () |
vector< double > * | getDenseRow (int i) |
SmiCoreData * | getCore () |
int | getStage () |
void | setCoreCombineRule (SmiCoreCombineRule *r) |
SmiCoreCombineRule * | getCoreCombineRule () |
void | copyRowLower (double *drlo) |
void | copyRowUpper (double *drup) |
void | copyColLower (double *dclo) |
void | copyColUpper (double *dcup) |
void | copyObjective (double *dobj) |
const int | getNumMatrixElements () |
const int | getRowLength (int irow) |
const int | getRowLowerLength () |
const int | getRowUpperLength () |
const int | getColLowerLength () |
const int | getColUpperLength () |
const int | getObjectiveLength () |
const int * | getRowIndices (int irow) |
int * | getMutableRowIndices (int irow) |
const int * | getRowLowerIndices () |
const int * | getRowUpperIndices () |
const int * | getColLowerIndices () |
const int * | getColUpperIndices () |
const int * | getObjectiveIndices () |
const double * | getRowElements (int irow) |
double * | getMutableRowElements (int irow) |
const double * | getRowLowerElements () |
const double * | getRowUpperElements () |
const double * | getColLowerElements () |
const double * | getColUpperElements () |
const double * | getObjectiveElements () |
CoinPackedVector * | combineWithCoreRow (CoinPackedVector *cr, CoinPackedVector *nr) |
int | combineWithDenseCoreRow (vector< double > *dr, CoinPackedVector *cpv, double *dels, int *indx) |
int | combineWithDenseCoreRow (vector< double > *dr, const int nels, const int *inds, const double *dels, double *dest_dels, int *dest_indx) |
SmiNodeData (SmiStageIndex stg, SmiCoreData *core, const CoinPackedMatrix *const matrix, CoinPackedVector *dclo, CoinPackedVector *dcup, CoinPackedVector *dobj, CoinPackedVector *drlo, CoinPackedVector *drup) | |
~SmiNodeData () | |
Protected Member Functions | |
void | combineWithCoreDoubleArray (double *d_out, const CoinPackedVector &cpv, int o) |
void | combineWithCoreDoubleArray (double *d_out, const int len, const int *inds, const double *dels, int o) |
void | assignMemory () |
void | deleteMemory () |
const int | getMatStart () |
const int | getMatEnd () |
const int | getRloStart () |
const int | getRupStart () |
const int | getCloStart () |
const int | getCupStart () |
const int | getObjStart () |
const int | getLength (int istart) |
const int * | getIndices (int istart) |
const double * | getElements (int istart) |
Private Attributes | |
SmiStageIndex | stg_ |
SmiRowMap | rowMap |
SmiDenseRowMap | dRowMap |
SmiCoreData * | core_ |
bool | isCoreNode_ |
SmiCoreCombineRule * | combineRule_ |
int | numarrays_ |
int | nels_ |
int | nrow_ |
int | ncol_ |
int | rowbeg_ |
int | colbeg_ |
int | nstrt_ |
bool | has_matrix_ |
int | mat_strt_ |
int | clo_strt_ |
int | cup_strt_ |
int | obj_strt_ |
int | rlo_strt_ |
int | rup_strt_ |
double * | dels_ |
int * | inds_ |
int * | strt_ |
Definition at line 30 of file SmiScnData.hpp.
typedef map<int,CoinPackedVector *> SmiNodeData::SmiRowMap |
Definition at line 34 of file SmiScnData.hpp.
typedef map<int,vector<double> *> SmiNodeData::SmiDenseRowMap |
Definition at line 35 of file SmiScnData.hpp.
SmiNodeData::SmiNodeData | ( | SmiStageIndex | stg, | |
SmiCoreData * | core, | |||
const CoinPackedMatrix *const | matrix, | |||
CoinPackedVector * | dclo, | |||
CoinPackedVector * | dcup, | |||
CoinPackedVector * | dobj, | |||
CoinPackedVector * | drlo, | |||
CoinPackedVector * | drup | |||
) |
SmiNodeData::~SmiNodeData | ( | ) |
void SmiNodeData::setCoreNode | ( | ) |
vector<double>* SmiNodeData::getDenseRow | ( | int | i | ) |
SmiCoreData* SmiNodeData::getCore | ( | ) | [inline] |
Definition at line 45 of file SmiScnData.hpp.
References core_.
Referenced by SmiScnNode::getNumCols(), and SmiScnNode::getNumRows().
int SmiNodeData::getStage | ( | ) | [inline] |
Definition at line 46 of file SmiScnData.hpp.
References stg_.
Referenced by SmiScnNode::getNumCols(), and SmiScnNode::getNumRows().
void SmiNodeData::setCoreCombineRule | ( | SmiCoreCombineRule * | r | ) | [inline] |
SmiCoreCombineRule* SmiNodeData::getCoreCombineRule | ( | ) | [inline] |
void SmiNodeData::copyRowLower | ( | double * | drlo | ) |
void SmiNodeData::copyRowUpper | ( | double * | drup | ) |
void SmiNodeData::copyColLower | ( | double * | dclo | ) |
void SmiNodeData::copyColUpper | ( | double * | dcup | ) |
void SmiNodeData::copyObjective | ( | double * | dobj | ) |
const int SmiNodeData::getNumMatrixElements | ( | ) | [inline] |
const int SmiNodeData::getRowLength | ( | int | irow | ) | [inline] |
const int SmiNodeData::getRowLowerLength | ( | ) | [inline] |
const int SmiNodeData::getRowUpperLength | ( | ) | [inline] |
const int SmiNodeData::getColLowerLength | ( | ) | [inline] |
const int SmiNodeData::getColUpperLength | ( | ) | [inline] |
const int SmiNodeData::getObjectiveLength | ( | ) | [inline] |
const int* SmiNodeData::getRowIndices | ( | int | irow | ) | [inline] |
Definition at line 75 of file SmiScnData.hpp.
References getIndices(), and rowbeg_.
Referenced by getMutableRowIndices().
int* SmiNodeData::getMutableRowIndices | ( | int | irow | ) | [inline] |
const int* SmiNodeData::getRowLowerIndices | ( | ) | [inline] |
const int* SmiNodeData::getRowUpperIndices | ( | ) | [inline] |
const int* SmiNodeData::getColLowerIndices | ( | ) | [inline] |
const int* SmiNodeData::getColUpperIndices | ( | ) | [inline] |
const int* SmiNodeData::getObjectiveIndices | ( | ) | [inline] |
const double* SmiNodeData::getRowElements | ( | int | irow | ) | [inline] |
Definition at line 91 of file SmiScnData.hpp.
References getElements(), and rowbeg_.
Referenced by getMutableRowElements().
double* SmiNodeData::getMutableRowElements | ( | int | irow | ) | [inline] |
const double* SmiNodeData::getRowLowerElements | ( | ) | [inline] |
const double* SmiNodeData::getRowUpperElements | ( | ) | [inline] |
const double* SmiNodeData::getColLowerElements | ( | ) | [inline] |
const double* SmiNodeData::getColUpperElements | ( | ) | [inline] |
const double* SmiNodeData::getObjectiveElements | ( | ) | [inline] |
CoinPackedVector* SmiNodeData::combineWithCoreRow | ( | CoinPackedVector * | cr, | |
CoinPackedVector * | nr | |||
) |
int SmiNodeData::combineWithDenseCoreRow | ( | vector< double > * | dr, | |
CoinPackedVector * | cpv, | |||
double * | dels, | |||
int * | indx | |||
) |
int SmiNodeData::combineWithDenseCoreRow | ( | vector< double > * | dr, | |
const int | nels, | |||
const int * | inds, | |||
const double * | dels, | |||
double * | dest_dels, | |||
int * | dest_indx | |||
) |
void SmiNodeData::combineWithCoreDoubleArray | ( | double * | d_out, | |
const CoinPackedVector & | cpv, | |||
int | o | |||
) | [protected] |
void SmiNodeData::combineWithCoreDoubleArray | ( | double * | d_out, | |
const int | len, | |||
const int * | inds, | |||
const double * | dels, | |||
int | o | |||
) | [protected] |
void SmiNodeData::assignMemory | ( | ) | [protected] |
void SmiNodeData::deleteMemory | ( | ) | [protected] |
const int SmiNodeData::getMatStart | ( | ) | [inline, protected] |
Definition at line 129 of file SmiScnData.hpp.
References mat_strt_.
Referenced by getNumMatrixElements().
const int SmiNodeData::getMatEnd | ( | ) | [inline, protected] |
Definition at line 130 of file SmiScnData.hpp.
References mat_strt_, and nrow_.
Referenced by getNumMatrixElements().
const int SmiNodeData::getRloStart | ( | ) | [inline, protected] |
const int SmiNodeData::getRupStart | ( | ) | [inline, protected] |
const int SmiNodeData::getCloStart | ( | ) | [inline, protected] |
const int SmiNodeData::getCupStart | ( | ) | [inline, protected] |
const int SmiNodeData::getObjStart | ( | ) | [inline, protected] |
const int SmiNodeData::getLength | ( | int | istart | ) | [inline, protected] |
Definition at line 138 of file SmiScnData.hpp.
References strt_.
Referenced by getColLowerLength(), getColUpperLength(), getObjectiveLength(), getRowLength(), getRowLowerLength(), and getRowUpperLength().
const int* SmiNodeData::getIndices | ( | int | istart | ) | [inline, protected] |
Definition at line 141 of file SmiScnData.hpp.
Referenced by getColLowerIndices(), getColUpperIndices(), getObjectiveIndices(), getRowIndices(), getRowLowerIndices(), and getRowUpperIndices().
const double* SmiNodeData::getElements | ( | int | istart | ) | [inline, protected] |
Definition at line 144 of file SmiScnData.hpp.
Referenced by getColLowerElements(), getColUpperElements(), getObjectiveElements(), getRowElements(), getRowLowerElements(), and getRowUpperElements().
SmiStageIndex SmiNodeData::stg_ [private] |
SmiRowMap SmiNodeData::rowMap [private] |
Definition at line 151 of file SmiScnData.hpp.
SmiDenseRowMap SmiNodeData::dRowMap [private] |
Definition at line 152 of file SmiScnData.hpp.
SmiCoreData* SmiNodeData::core_ [private] |
bool SmiNodeData::isCoreNode_ [private] |
Definition at line 155 of file SmiScnData.hpp.
SmiCoreCombineRule* SmiNodeData::combineRule_ [private] |
Definition at line 156 of file SmiScnData.hpp.
Referenced by getCoreCombineRule(), and setCoreCombineRule().
int SmiNodeData::numarrays_ [private] |
Definition at line 158 of file SmiScnData.hpp.
int SmiNodeData::nels_ [private] |
Definition at line 159 of file SmiScnData.hpp.
int SmiNodeData::nrow_ [private] |
int SmiNodeData::ncol_ [private] |
Definition at line 161 of file SmiScnData.hpp.
int SmiNodeData::rowbeg_ [private] |
Definition at line 162 of file SmiScnData.hpp.
Referenced by getRowElements(), getRowIndices(), and getRowLength().
int SmiNodeData::colbeg_ [private] |
Definition at line 163 of file SmiScnData.hpp.
int SmiNodeData::nstrt_ [private] |
Definition at line 164 of file SmiScnData.hpp.
bool SmiNodeData::has_matrix_ [private] |
Definition at line 165 of file SmiScnData.hpp.
int SmiNodeData::mat_strt_ [private] |
int SmiNodeData::clo_strt_ [private] |
int SmiNodeData::cup_strt_ [private] |
int SmiNodeData::obj_strt_ [private] |
int SmiNodeData::rlo_strt_ [private] |
int SmiNodeData::rup_strt_ [private] |
double* SmiNodeData::dels_ [private] |
int* SmiNodeData::inds_ [private] |
int* SmiNodeData::strt_ [private] |
Definition at line 174 of file SmiScnData.hpp.
Referenced by getElements(), getIndices(), getLength(), and getNumMatrixElements().