MMKP_Model Class Reference

#include <MMKP_Model.h>

List of all members.

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.
 ~MMKP_Model ()
 Default constructor.

Private Attributes

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

Detailed Description

Definition at line 33 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 78 of file MMKP_Model.h.

MMKP_Model::~MMKP_Model (  )  [inline]

Default constructor.

Takes an instance of UtilParameters

Definition at line 89 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 46 of file MMKP_Model.h.

const MMKP_Param& MMKP_Model::getParam (  )  const [inline]

Definition at line 49 of file MMKP_Model.h.

const double* MMKP_Model::getObjective (  )  const [inline]

Definition at line 52 of file MMKP_Model.h.

DecompConstraintSet* MMKP_Model::getModelCore (  )  const [inline]

Definition at line 55 of file MMKP_Model.h.

References getModel().

DecompConstraintSet* MMKP_Model::getModelRelax (  )  const [inline]

Definition at line 58 of file MMKP_Model.h.

References getModel().

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

Definition at line 62 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 36 of file MMKP_Model.h.


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

Generated on 12 Mar 2015 for Dip-All by  doxygen 1.6.1