SmiNodeData Class Reference
#include <SmiScnData.hpp>
List of all members.
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_ |
Detailed Description
Definition at line 30 of file SmiScnData.hpp.
Member Typedef Documentation
Constructor & Destructor Documentation
SmiNodeData::~SmiNodeData |
( |
|
) |
|
Member Function Documentation
void SmiNodeData::setCoreNode |
( |
|
) |
|
vector<double>* SmiNodeData::getDenseRow |
( |
int |
i |
) |
|
int SmiNodeData::getStage |
( |
|
) |
[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] |
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] |
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] |
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] |
const int SmiNodeData::getMatEnd |
( |
|
) |
[inline, protected] |
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] |
const int* SmiNodeData::getIndices |
( |
int |
istart |
) |
[inline, protected] |
const double* SmiNodeData::getElements |
( |
int |
istart |
) |
[inline, protected] |
Member Data Documentation
The documentation for this class was generated from the following file: