Dip
0.92.4
|
#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 (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 () |
![]() | |
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 | |
![]() | |
std::string | m_strHash |
string | m_strHash |
Definition at line 45 of file VRP_GSECCut.h.
Enumerator | |
---|---|
VECTOR | |
BITSET | |
BOTH | |
NONE |
Definition at line 47 of file VRP_GSECCut.h.
enum VRP_GSECCut::cutType |
Enumerator | |
---|---|
ACROSS | |
SIDE | |
SIDE_COMPL |
Definition at line 48 of file VRP_GSECCut.h.
|
inline |
Definition at line 81 of file VRP_GSECCut.h.
|
inlinevirtual |
Definition at line 99 of file VRP_GSECCut.h.
|
virtual |
Reimplemented from DecompCut.
|
virtual |
|
virtual |
Reimplemented from DecompCut.
|
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 | ( | ) |
|
private |
Class id tag (for log / debugging).
Definition at line 52 of file VRP_GSECCut.h.
|
private |
Definition at line 55 of file VRP_GSECCut.h.
|
private |
Definition at line 56 of file VRP_GSECCut.h.
|
private |
Definition at line 57 of file VRP_GSECCut.h.
|
private |
Definition at line 58 of file VRP_GSECCut.h.
|
private |
Definition at line 59 of file VRP_GSECCut.h.
|
private |
Definition at line 60 of file VRP_GSECCut.h.
|
private |
Definition at line 61 of file VRP_GSECCut.h.