Dip-All
0.91.0
|
#include <TSP_SubtourCut.h>
Public Types | |
enum | storageType { VECTOR, BITSET, BOTH } |
enum | cutType { ACROSS, SIDE } |
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 | init () |
void | setCutType () |
void | create_bitset () |
void | create_vector () |
TSP_SubtourCut (const vector< bool > &inS, const cutType type=ACROSS) | |
TSP_SubtourCut (const vector< bool > &inS, const vector< int > &S, const cutType type) | |
TSP_SubtourCut (const vector< bool > &inS, const vector< int > &S) | |
virtual | ~TSP_SubtourCut () |
![]() | |
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) |
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) |
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 | |
vector< int > | m_S |
vector< bool > | m_inS |
cutType | m_type |
storageType | m_storage |
int | m_nverts |
Additional Inherited Members | |
![]() | |
std::string | m_strHash |
string | m_strHash |
Definition at line 30 of file TSP_SubtourCut.h.
Enumerator | |
---|---|
VECTOR | |
BITSET | |
BOTH |
Definition at line 32 of file TSP_SubtourCut.h.
Enumerator | |
---|---|
ACROSS | |
SIDE |
Definition at line 33 of file TSP_SubtourCut.h.
Definition at line 58 of file TSP_SubtourCut.h.
|
inline |
Definition at line 68 of file TSP_SubtourCut.h.
|
inline |
Definition at line 80 of file TSP_SubtourCut.h.
|
inlinevirtual |
Definition at line 91 of file TSP_SubtourCut.h.
|
virtual |
Reimplemented from DecompCut.
|
virtual |
Reimplemented from DecompCut.
|
virtual |
Reimplemented from DecompCut.
void TSP_SubtourCut::init | ( | ) |
void TSP_SubtourCut::setCutType | ( | ) |
void TSP_SubtourCut::create_bitset | ( | ) |
void TSP_SubtourCut::create_vector | ( | ) |
|
private |
Definition at line 36 of file TSP_SubtourCut.h.
|
private |
Definition at line 37 of file TSP_SubtourCut.h.
|
private |
Definition at line 38 of file TSP_SubtourCut.h.
|
private |
Definition at line 39 of file TSP_SubtourCut.h.
|
private |
Definition at line 40 of file TSP_SubtourCut.h.