#include <VRP_GSECCut.h>
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 |
Definition at line 45 of file VRP_GSECCut.h.
Definition at line 47 of file VRP_GSECCut.h.
enum VRP_GSECCut::cutType |
Definition at line 48 of file VRP_GSECCut.h.
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.
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 | ( | ) |
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.