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

#include <VRP_GSECCut.h>

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

Public Types

enum  storageType { VECTOR, BITSET, BOTH, NONE }
 
enum  cutType { ACROSS, SIDE, SIDE_COMPL }
 

Public Member Functions

virtual void expandCutToRow (CoinPackedVector *row)
 
virtual void setBounds (double infinity)
 
virtual void print (ostream *os=&cout) const
 
virtual bool isSame (const DecompCut *cut) const
 
void setStorage ()
 
void create_bitset ()
 
void create_vector ()
 
void setCutType ()
 
void setDemand (const int *vertex_wt)
 
const int getSize ()
 
 VRP_GSECCut (const dynamic_bitset<> &inS, const int *vertex_wt, const int capacity, const double infinity, const int demandS=0)
 
virtual ~VRP_GSECCut ()
 
- Public Member Functions inherited from DecompCut
double getLowerBound () const
 
double getUpperBound () const
 
double getViolation () const
 
int getEffCnt () const
 
std::string getStrHash () const
 
void setLowerBound (const double lb)
 
void setUpperBound (const double ub)
 
void setViolation (const double violation)
 
bool calcViolation (const CoinPackedVector *row, const double *x)
 
virtual void setStringHash (CoinPackedVector *row, double infinity)
 
virtual void setBounds ()
 
virtual void print (std::ostream *os=&std::cout) const
 
void resetEffCnt ()
 
void increaseEffCnt ()
 Increase the effectiveness count by 1 (or to 1 if it was negative). More...
 
void decreaseEffCnt ()
 Decrease the effectiveness count by 1 (or to -1 if it was positive). More...
 
 DecompCut ()
 
virtual ~DecompCut ()
 
double getLowerBound () const
 
double getUpperBound () const
 
double getViolation () const
 
int getEffCnt () const
 
string getStrHash () const
 
void setLowerBound (const double lb)
 
void setUpperBound (const double ub)
 
void setViolation (const double violation)
 
bool calcViolation (const CoinPackedVector *row, const double *x)
 
virtual void setStringHash (CoinPackedVector *row)
 
virtual void setBounds ()
 
void resetEffCnt ()
 
void increaseEffCnt ()
 Increase the effectiveness count by 1 (or to 1 if it was negative). More...
 
void decreaseEffCnt ()
 Decrease the effectiveness count by 1 (or to -1 if it was positive). More...
 
 DecompCut ()
 
virtual ~DecompCut ()
 

Private Attributes

const string m_classTag
 Class id tag (for log / debugging). More...
 
vector< int > m_S
 
dynamic_bitset m_inS
 
cutType m_type
 
storageType m_storage
 
int m_nverts
 
int m_demandS
 
int m_capacity
 

Additional Inherited Members

- Protected Attributes inherited from DecompCut
std::string m_strHash
 
string m_strHash
 

Detailed Description

Definition at line 45 of file VRP_GSECCut.h.

Member Enumeration Documentation

Enumerator
VECTOR 
BITSET 
BOTH 
NONE 

Definition at line 47 of file VRP_GSECCut.h.

Enumerator
ACROSS 
SIDE 
SIDE_COMPL 

Definition at line 48 of file VRP_GSECCut.h.

Constructor & Destructor Documentation

VRP_GSECCut::VRP_GSECCut ( const dynamic_bitset<> &  inS,
const int *  vertex_wt,
const int  capacity,
const double  infinity,
const int  demandS = 0 
)
inline

Definition at line 81 of file VRP_GSECCut.h.

virtual VRP_GSECCut::~VRP_GSECCut ( )
inlinevirtual

Definition at line 99 of file VRP_GSECCut.h.

Member Function Documentation

virtual void VRP_GSECCut::expandCutToRow ( CoinPackedVector row)
virtual

Reimplemented from DecompCut.

virtual void VRP_GSECCut::setBounds ( double  infinity)
virtual
virtual void VRP_GSECCut::print ( ostream *  os = &cout) const
virtual

Reimplemented from DecompCut.

virtual bool VRP_GSECCut::isSame ( const DecompCut cut) const
virtual

Reimplemented from DecompCut.

void VRP_GSECCut::setStorage ( )
void VRP_GSECCut::create_bitset ( )
void VRP_GSECCut::create_vector ( )
void VRP_GSECCut::setCutType ( )
void VRP_GSECCut::setDemand ( const int *  vertex_wt)
const int VRP_GSECCut::getSize ( )

Member Data Documentation

const string VRP_GSECCut::m_classTag
private

Class id tag (for log / debugging).

Definition at line 52 of file VRP_GSECCut.h.

vector<int> VRP_GSECCut::m_S
private

Definition at line 55 of file VRP_GSECCut.h.

dynamic_bitset VRP_GSECCut::m_inS
private

Definition at line 56 of file VRP_GSECCut.h.

cutType VRP_GSECCut::m_type
private

Definition at line 57 of file VRP_GSECCut.h.

storageType VRP_GSECCut::m_storage
private

Definition at line 58 of file VRP_GSECCut.h.

int VRP_GSECCut::m_nverts
private

Definition at line 59 of file VRP_GSECCut.h.

int VRP_GSECCut::m_demandS
private

Definition at line 60 of file VRP_GSECCut.h.

int VRP_GSECCut::m_capacity
private

Definition at line 61 of file VRP_GSECCut.h.


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