DecompCut Class Reference

#include <DecompCut.h>

Inheritance diagram for DecompCut:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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 expandCutToRow (CoinPackedVector *row)
virtual void setBounds ()
virtual bool isSame (const DecompCut *cut) const
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).
void decreaseEffCnt ()
 Decrease the effectiveness count by 1 (or to -1 if it was positive).
 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 expandCutToRow (CoinPackedVector *row)
virtual void setBounds ()
virtual bool isSame (const DecompCut *cut) const
virtual void print (ostream *os=&cout) const
void resetEffCnt ()
void increaseEffCnt ()
 Increase the effectiveness count by 1 (or to 1 if it was negative).
void decreaseEffCnt ()
 Decrease the effectiveness count by 1 (or to -1 if it was positive).
 DecompCut ()
virtual ~DecompCut ()

Protected Attributes

std::string m_strHash
string m_strHash

Private Member Functions

 DecompCut (const DecompCut &)
DecompCutoperator= (const DecompCut &)

Private Attributes

double m_lb
double m_ub
double m_violation
int m_effCnt

Detailed Description

Definition at line 35 of file DecompCut.h.


Constructor & Destructor Documentation

DecompCut::DecompCut (  )  [inline]

Definition at line 136 of file DecompCut.h.

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

Definition at line 143 of file DecompCut.h.

DecompCut::DecompCut ( const DecompCut  )  [private]
DecompCut::DecompCut (  )  [inline]

Definition at line 140 of file DecompCut.h.

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

Definition at line 147 of file DecompCut.h.


Member Function Documentation

double DecompCut::getLowerBound (  )  const [inline]

Definition at line 48 of file DecompCut.h.

References m_lb.

Referenced by DecompWaitingRow::getLowerBound(), DecompCutOsi::print(), and setStringHash().

double DecompCut::getUpperBound (  )  const [inline]
double DecompCut::getViolation (  )  const [inline]

Definition at line 54 of file DecompCut.h.

References m_violation.

Referenced by DecompWaitingRow::getViolation(), and DecompCutOsi::print().

int DecompCut::getEffCnt (  )  const [inline]

Definition at line 57 of file DecompCut.h.

References m_effCnt.

std::string DecompCut::getStrHash (  )  const [inline]

Definition at line 60 of file DecompCut.h.

References m_strHash.

void DecompCut::setLowerBound ( const double  lb  )  [inline]

Definition at line 65 of file DecompCut.h.

References m_lb.

Referenced by DippyDecompCut::DippyDecompCut(), and DecompCutOsi::setBounds().

void DecompCut::setUpperBound ( const double  ub  )  [inline]

Definition at line 68 of file DecompCut.h.

References m_ub.

Referenced by DippyDecompCut::DippyDecompCut(), and DecompCutOsi::setBounds().

void DecompCut::setViolation ( const double  violation  )  [inline]

Definition at line 71 of file DecompCut.h.

References m_violation.

bool DecompCut::calcViolation ( const CoinPackedVector row,
const double *  x 
)
virtual void DecompCut::setStringHash ( CoinPackedVector row  )  [inline, virtual]
virtual void DecompCut::expandCutToRow ( CoinPackedVector row  )  [inline, virtual]

Reimplemented in TSP_SubtourCut, VRP_GSECCut, DecompCutOsi, DippyDecompCut, and DecompCutOsi.

Definition at line 102 of file DecompCut.h.

virtual void DecompCut::setBounds (  )  [inline, virtual]

Reimplemented in TSP_SubtourCut, VRP_GSECCut, DecompCutOsi, and DecompCutOsi.

Definition at line 107 of file DecompCut.h.

virtual bool DecompCut::isSame ( const DecompCut cut  )  const [inline, virtual]

Definition at line 112 of file DecompCut.h.

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

Reimplemented in DecompCutOsi.

void DecompCut::resetEffCnt (  )  [inline]

Definition at line 119 of file DecompCut.h.

References m_effCnt.

void DecompCut::increaseEffCnt (  )  [inline]

Increase the effectiveness count by 1 (or to 1 if it was negative).

Return the new effectiveness count.

Definition at line 125 of file DecompCut.h.

References m_effCnt.

void DecompCut::decreaseEffCnt (  )  [inline]

Decrease the effectiveness count by 1 (or to -1 if it was positive).

Return the new effectiveness count.

Definition at line 131 of file DecompCut.h.

References m_effCnt.

DecompCut& DecompCut::operator= ( const DecompCut  )  [private]
double DecompCut::getLowerBound (  )  const [inline]

Definition at line 52 of file DecompCut.h.

References m_lb.

double DecompCut::getUpperBound (  )  const [inline]

Definition at line 55 of file DecompCut.h.

References m_ub.

double DecompCut::getViolation (  )  const [inline]

Definition at line 58 of file DecompCut.h.

References m_violation.

int DecompCut::getEffCnt (  )  const [inline]

Definition at line 61 of file DecompCut.h.

References m_effCnt.

string DecompCut::getStrHash (  )  const [inline]

Definition at line 64 of file DecompCut.h.

References m_strHash.

void DecompCut::setLowerBound ( const double  lb  )  [inline]

Definition at line 69 of file DecompCut.h.

References m_lb.

void DecompCut::setUpperBound ( const double  ub  )  [inline]

Definition at line 72 of file DecompCut.h.

References m_ub.

void DecompCut::setViolation ( const double  violation  )  [inline]

Definition at line 75 of file DecompCut.h.

References m_violation.

bool DecompCut::calcViolation ( const CoinPackedVector row,
const double *  x 
)
virtual void DecompCut::setStringHash ( CoinPackedVector row  )  [inline, virtual]
virtual void DecompCut::expandCutToRow ( CoinPackedVector row  )  [inline, virtual]

Reimplemented in TSP_SubtourCut, VRP_GSECCut, DecompCutOsi, DippyDecompCut, and DecompCutOsi.

Definition at line 106 of file DecompCut.h.

virtual void DecompCut::setBounds (  )  [inline, virtual]

Reimplemented in TSP_SubtourCut, VRP_GSECCut, DecompCutOsi, and DecompCutOsi.

Definition at line 111 of file DecompCut.h.

virtual bool DecompCut::isSame ( const DecompCut cut  )  const [inline, virtual]

Definition at line 116 of file DecompCut.h.

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

Reimplemented in TSP_SubtourCut, VRP_GSECCut, and DecompCutOsi.

void DecompCut::resetEffCnt (  )  [inline]

Definition at line 123 of file DecompCut.h.

References m_effCnt.

void DecompCut::increaseEffCnt (  )  [inline]

Increase the effectiveness count by 1 (or to 1 if it was negative).

Return the new effectiveness count.

Definition at line 129 of file DecompCut.h.

References m_effCnt.

void DecompCut::decreaseEffCnt (  )  [inline]

Decrease the effectiveness count by 1 (or to -1 if it was positive).

Return the new effectiveness count.

Definition at line 135 of file DecompCut.h.

References m_effCnt.


Member Data Documentation

double DecompCut::m_lb [private]

Reimplemented in DippyDecompCut.

Definition at line 37 of file DecompCut.h.

Referenced by getLowerBound(), and setLowerBound().

double DecompCut::m_ub [private]

Reimplemented in DippyDecompCut.

Definition at line 38 of file DecompCut.h.

Referenced by getUpperBound(), and setUpperBound().

double DecompCut::m_violation [private]

Definition at line 40 of file DecompCut.h.

Referenced by getViolation(), and setViolation().

int DecompCut::m_effCnt [private]

Definition at line 41 of file DecompCut.h.

Referenced by decreaseEffCnt(), getEffCnt(), increaseEffCnt(), and resetEffCnt().

std::string DecompCut::m_strHash [protected]

Definition at line 44 of file DecompCut.h.

Referenced by getStrHash(), DecompCutOsi::setStringHash(), and setStringHash().

string DecompCut::m_strHash [protected]

Definition at line 48 of file DecompCut.h.


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

Generated on 3 Jun 2015 for Dip-All by  doxygen 1.6.1