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

#include <MMKP_Model.h>

Public Member Functions

int readInstance ()
 
Access methods
const MMKP_InstancegetInstance () const
 
const MMKP_ParamgetParam () const
 
const double * getObjective () const
 
DecompConstraintSetgetModelCore () const
 
DecompConstraintSetgetModelRelax () const
 
DecompConstraintSetgetModel (string modelName) const
 
Constructor and Destructor
 MMKP_Model (UtilParameters &utilParam)
 Default constructor. More...
 
 ~MMKP_Model ()
 Default constructor. More...
 

Private Attributes

const string m_classTag
 Class id tag (for log / debugging). More...
 

Detailed Description

Definition at line 35 of file MMKP_Model.h.

Constructor & Destructor Documentation

MMKP_Model::MMKP_Model ( UtilParameters utilParam)
inline

Default constructor.

Takes an instance of UtilParameters

Definition at line 80 of file MMKP_Model.h.

MMKP_Model::~MMKP_Model ( )
inline

Default constructor.

Takes an instance of UtilParameters

Definition at line 91 of file MMKP_Model.h.

References UTIL_DELARR, and UtilDeleteMapPtr().

Member Function Documentation

int MMKP_Model::readInstance ( )
const MMKP_Instance& MMKP_Model::getInstance ( ) const
inline

Definition at line 48 of file MMKP_Model.h.

const MMKP_Param& MMKP_Model::getParam ( ) const
inline

Definition at line 51 of file MMKP_Model.h.

const double* MMKP_Model::getObjective ( ) const
inline

Definition at line 54 of file MMKP_Model.h.

DecompConstraintSet* MMKP_Model::getModelCore ( ) const
inline

Definition at line 57 of file MMKP_Model.h.

References getModel().

DecompConstraintSet* MMKP_Model::getModelRelax ( ) const
inline

Definition at line 60 of file MMKP_Model.h.

References getModel().

DecompConstraintSet* MMKP_Model::getModel ( string  modelName) const
inline

Definition at line 64 of file MMKP_Model.h.

Referenced by getModelCore(), and getModelRelax().

Member Data Documentation

const string MMKP_Model::m_classTag
private

Class id tag (for log / debugging).

Definition at line 38 of file MMKP_Model.h.


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