coin-Bcp
Public Member Functions | Private Attributes | List of all members
CSPROBLEM Class Reference

#include <CSP.hpp>

Public Member Functions

int getL () const
 
const int * getDemand () const
 
const int * getW () const
 
int getM () const
 
int getS () const
 
bool doesCombineExclusionConstraints () const
 
bool doesAddKnapsackMirConstraints () const
 
bool doesAddKnifeMirConstraints () const
 
void setCombineExclusionConstraints (char yesno)
 
void setAddKnapsackMirConstraints (char yesno)
 
void setAddKnifeMirConstraints (char yesno)
 
 CSPROBLEM ()
 
 CSPROBLEM (std::istream &inputStream)
 
 ~CSPROBLEM ()
 
void pack (BCP_buffer &buf) const
 
void unpack (BCP_buffer &buf)
 

Private Attributes

int l_
 
int * demand_
 
int * w_
 
int m_
 
int s_
 
double start_time_
 
char combineExclusionConstraints
 
char addKnapsackMirConstraints
 
char addKnifeMirConstraints
 

Detailed Description

Definition at line 105 of file CSP.hpp.

Constructor & Destructor Documentation

CSPROBLEM::CSPROBLEM ( )
CSPROBLEM::CSPROBLEM ( std::istream &  inputStream)
CSPROBLEM::~CSPROBLEM ( )
inline

Definition at line 137 of file CSP.hpp.

Member Function Documentation

int CSPROBLEM::getL ( ) const
inline

Definition at line 109 of file CSP.hpp.

References l_.

const int* CSPROBLEM::getDemand ( ) const
inline

Definition at line 110 of file CSP.hpp.

References demand_.

const int* CSPROBLEM::getW ( ) const
inline

Definition at line 111 of file CSP.hpp.

References w_.

int CSPROBLEM::getM ( ) const
inline

Definition at line 112 of file CSP.hpp.

References m_.

int CSPROBLEM::getS ( ) const
inline

Definition at line 113 of file CSP.hpp.

References s_.

bool CSPROBLEM::doesCombineExclusionConstraints ( ) const
inline

Definition at line 115 of file CSP.hpp.

References combineExclusionConstraints.

bool CSPROBLEM::doesAddKnapsackMirConstraints ( ) const
inline

Definition at line 118 of file CSP.hpp.

References addKnapsackMirConstraints.

bool CSPROBLEM::doesAddKnifeMirConstraints ( ) const
inline

Definition at line 121 of file CSP.hpp.

References addKnifeMirConstraints.

void CSPROBLEM::setCombineExclusionConstraints ( char  yesno)
inline

Definition at line 125 of file CSP.hpp.

References combineExclusionConstraints.

void CSPROBLEM::setAddKnapsackMirConstraints ( char  yesno)
inline

Definition at line 128 of file CSP.hpp.

References addKnapsackMirConstraints.

void CSPROBLEM::setAddKnifeMirConstraints ( char  yesno)
inline

Definition at line 131 of file CSP.hpp.

References addKnifeMirConstraints.

void CSPROBLEM::pack ( BCP_buffer buf) const
inline
void CSPROBLEM::unpack ( BCP_buffer buf)
inline

Member Data Documentation

int CSPROBLEM::l_
private

Definition at line 160 of file CSP.hpp.

Referenced by getL(), pack(), and unpack().

int* CSPROBLEM::demand_
private

Definition at line 161 of file CSP.hpp.

Referenced by getDemand(), pack(), and unpack().

int* CSPROBLEM::w_
private

Definition at line 162 of file CSP.hpp.

Referenced by getW(), pack(), and unpack().

int CSPROBLEM::m_
private

Definition at line 163 of file CSP.hpp.

Referenced by getM(), pack(), and unpack().

int CSPROBLEM::s_
private

Definition at line 164 of file CSP.hpp.

Referenced by getS(), pack(), and unpack().

double CSPROBLEM::start_time_
private

Definition at line 165 of file CSP.hpp.

char CSPROBLEM::combineExclusionConstraints
private
char CSPROBLEM::addKnapsackMirConstraints
private

Definition at line 168 of file CSP.hpp.

Referenced by doesAddKnapsackMirConstraints(), pack(), setAddKnapsackMirConstraints(), and unpack().

char CSPROBLEM::addKnifeMirConstraints
private

Definition at line 169 of file CSP.hpp.

Referenced by doesAddKnifeMirConstraints(), pack(), setAddKnifeMirConstraints(), and unpack().


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