Dip  0.92.4
Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | List of all members
DecompModel Class Reference

#include <DecompModel.h>

Inheritance diagram for DecompModel:
Inheritance graph
[legend]
Collaboration diagram for DecompModel:
Collaboration graph
[legend]

Public Member Functions

DecompConstraintSetgetModel () const
 
const std::string & getModelName () const
 
const int getBlockId () const
 
void setModel (DecompConstraintSet *model)
 
void setModelName (const std::string modelName)
 
void setBlockId (const int blockId)
 
 DecompModel (const DecompModel &appModel)
 
DecompModeloperator= (const DecompModel &rhs)
 
 DecompModel (UtilParameters &utilParam)
 
 DecompModel (DecompConstraintSet *model, std::string modelName, int blockId, UtilParameters &utilParam)
 
virtual ~DecompModel ()
 
 DecompModel ()
 
virtual ~DecompModel ()
 

Public Attributes

double * objCoeff
 Model data objects (must be defined by users). More...
 
DecompVarList vars
 Model data objects will be used during algos. More...
 
DecompCutList cuts
 
DecompVarPool varpool
 
DecompCutPool cutpool
 

Protected Attributes

DecompConstraintSetm_model
 
std::string m_modelName
 
int m_blockId
 
UtilParametersm_utilParam
 

Private Member Functions

 DecompModel (const DecompModel &)
 Disable copy constructors. More...
 
DecompModeloperator= (const DecompModel &)
 

Detailed Description

Definition at line 27 of file DecompModel.h.

Constructor & Destructor Documentation

DecompModel::DecompModel ( const DecompModel appModel)
inline

Definition at line 57 of file DecompModel.h.

References m_blockId, m_model, m_modelName, and m_utilParam.

DecompModel::DecompModel ( UtilParameters utilParam)
inline

Definition at line 72 of file DecompModel.h.

DecompModel::DecompModel ( DecompConstraintSet model,
std::string  modelName,
int  blockId,
UtilParameters utilParam 
)
inline

Definition at line 78 of file DecompModel.h.

virtual DecompModel::~DecompModel ( )
inlinevirtual

Definition at line 87 of file DecompModel.h.

DecompModel::DecompModel ( const DecompModel )
private

Disable copy constructors.

DecompModel::DecompModel ( )
inline

Definition at line 57 of file DecompModel.h.

virtual DecompModel::~DecompModel ( )
inlinevirtual

Definition at line 66 of file DecompModel.h.

References objCoeff, and UTIL_DELARR.

Member Function Documentation

DecompConstraintSet* DecompModel::getModel ( ) const
inline
const std::string& DecompModel::getModelName ( ) const
inline

Definition at line 38 of file DecompModel.h.

References m_modelName.

const int DecompModel::getBlockId ( ) const
inline

Definition at line 41 of file DecompModel.h.

References m_blockId.

void DecompModel::setModel ( DecompConstraintSet model)
inline

Definition at line 46 of file DecompModel.h.

References m_model.

Referenced by DecompApp::setModelCore(), and DippyDecompApp::~DippyDecompApp().

void DecompModel::setModelName ( const std::string  modelName)
inline

Definition at line 49 of file DecompModel.h.

References m_modelName.

Referenced by DecompApp::setModelCore().

void DecompModel::setBlockId ( const int  blockId)
inline

Definition at line 52 of file DecompModel.h.

References m_blockId.

DecompModel& DecompModel::operator= ( const DecompModel rhs)
inline

Definition at line 64 of file DecompModel.h.

References m_blockId, m_model, m_modelName, and m_utilParam.

Referenced by DecompSubModel::operator=().

DecompModel& DecompModel::operator= ( const DecompModel )
private

Member Data Documentation

DecompConstraintSet* DecompModel::m_model
protected

Definition at line 29 of file DecompModel.h.

Referenced by DecompModel(), getModel(), operator=(), and setModel().

std::string DecompModel::m_modelName
protected

Definition at line 30 of file DecompModel.h.

Referenced by DecompModel(), getModelName(), operator=(), and setModelName().

int DecompModel::m_blockId
protected

Definition at line 31 of file DecompModel.h.

Referenced by DecompModel(), getBlockId(), operator=(), and setBlockId().

UtilParameters* DecompModel::m_utilParam
protected

Definition at line 32 of file DecompModel.h.

Referenced by DecompModel(), and operator=().

double* DecompModel::objCoeff

Model data objects (must be defined by users).

Definition at line 43 of file DecompModel.h.

Referenced by ~DecompModel().

DecompVarList DecompModel::vars

Model data objects will be used during algos.

THINK: belong here or in algos?

Definition at line 51 of file DecompModel.h.

DecompCutList DecompModel::cuts

Definition at line 52 of file DecompModel.h.

DecompVarPool DecompModel::varpool

Definition at line 53 of file DecompModel.h.

DecompCutPool DecompModel::cutpool

Definition at line 54 of file DecompModel.h.


The documentation for this class was generated from the following files: