VRP_GSECCut Class Reference

#include <VRP_GSECCut.h>

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

List of all members.

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 ()
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 int demandS=0)
virtual ~VRP_GSECCut ()

Private Attributes

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

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 int  demandS = 0 
) [inline]

Definition at line 81 of file VRP_GSECCut.h.

References setBounds(), setCutType(), setDemand(), and setStorage().

virtual VRP_GSECCut::~VRP_GSECCut (  )  [inline, virtual]

Definition at line 98 of file VRP_GSECCut.h.


Member Function Documentation

virtual void VRP_GSECCut::expandCutToRow ( CoinPackedVector row  )  [virtual]

Reimplemented from DecompCut.

virtual void VRP_GSECCut::setBounds (  )  [virtual]

Reimplemented from DecompCut.

Referenced by VRP_GSECCut().

virtual void VRP_GSECCut::print ( ostream *  os = &cout  )  const [virtual]

Reimplemented from DecompCut.

virtual bool VRP_GSECCut::isSame ( const DecompCut cut  )  const [virtual]
void VRP_GSECCut::setStorage (  ) 

Referenced by VRP_GSECCut().

void VRP_GSECCut::create_bitset (  ) 
void VRP_GSECCut::create_vector (  ) 
void VRP_GSECCut::setCutType (  ) 

Referenced by VRP_GSECCut().

void VRP_GSECCut::setDemand ( const int *  vertex_wt  ) 

Referenced by VRP_GSECCut().

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.

Definition at line 57 of file VRP_GSECCut.h.

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:

Generated on 5 Apr 2015 for Dip-All by  doxygen 1.6.1