PATTERN Class Reference

#include <CSP.hpp>

Inheritance diagram for PATTERN:

Inheritance graph
[legend]
Collaboration diagram for PATTERN:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void pack (BCP_buffer &buf) const
 PATTERN (BCP_buffer &buf)
virtual ~PATTERN ()
double getCost () const
double getUb () const
const CSP_packedVectorgetWidths () const
double dj (const double *pi) const
 PATTERN ()
 PATTERN (const int numElements, const int *indices, const double *elements, const double ub)
 PATTERN (const PATTERN &x)

Private Attributes

double cost_
CSP_packedVector widths_
double ub_

Static Private Attributes

static const CSPROBLEMcsproblem_

Detailed Description

Definition at line 177 of file CSP.hpp.


Constructor & Destructor Documentation

PATTERN::PATTERN ( BCP_buffer buf  )  [inline]

Definition at line 205 of file CSP.hpp.

References cost_, ub_, CSP_packedVector::unpack(), BCP_buffer::unpack(), and widths_.

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

Definition at line 218 of file CSP.hpp.

PATTERN::PATTERN (  )  [inline]

Definition at line 233 of file CSP.hpp.

PATTERN::PATTERN ( const int  numElements,
const int *  indices,
const double *  elements,
const double  ub 
) [inline]

Definition at line 243 of file CSP.hpp.

PATTERN::PATTERN ( const PATTERN x  )  [inline]

Definition at line 248 of file CSP.hpp.


Member Function Documentation

void PATTERN::pack ( BCP_buffer buf  )  const [inline]

Definition at line 198 of file CSP.hpp.

References cost_, CSP_packedVector::pack(), BCP_buffer::pack(), ub_, and widths_.

double PATTERN::getCost (  )  const [inline]

Definition at line 222 of file CSP.hpp.

References cost_.

double PATTERN::getUb (  )  const [inline]

Definition at line 223 of file CSP.hpp.

References ub_.

const CSP_packedVector& PATTERN::getWidths (  )  const [inline]

Definition at line 225 of file CSP.hpp.

References widths_.

double PATTERN::dj ( const double *  pi  )  const


Member Data Documentation

const CSPROBLEM* PATTERN::csproblem_ [static, private]

Definition at line 180 of file CSP.hpp.

double PATTERN::cost_ [private]

Definition at line 183 of file CSP.hpp.

Referenced by getCost(), pack(), and PATTERN().

CSP_packedVector PATTERN::widths_ [private]

Definition at line 190 of file CSP.hpp.

Referenced by getWidths(), pack(), and PATTERN().

double PATTERN::ub_ [private]

Definition at line 193 of file CSP.hpp.

Referenced by getUb(), pack(), and PATTERN().


The documentation for this class was generated from the following file:
Generated on Thu Jan 15 03:03:41 2009 for coin-Bcp by  doxygen 1.4.7