BB_indexed_cut Class Reference

When doing a sprint sort of algorithm on the cuts (i.e., leave out a number of cuts at the beginning and add them only as necessary) this object represents one of these cuts. More...

#include <BB_cut.hpp>

Inheritance diagram for BB_indexed_cut:

Inheritance graph
[legend]
Collaboration diagram for BB_indexed_cut:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void pack (BCP_buffer &buf) const
 Packing cut to a buffer.
Constructors and destructors
 BB_indexed_cut (BCP_buffer &buf)
 Constructor from content of buffer.
 BB_indexed_cut (int index, double lb, double ub)
 Constructor from the index itself.
 ~BB_indexed_cut ()
 Destructor.
int index () const
 Constructor from content of buffer.

Static Public Member Functions

static void * operator new (size_t size)
static void operator delete (void *p, size_t size)

Private Member Functions

 BB_indexed_cut ()
 BB_indexed_cut (const BB_indexed_cut &)
BB_indexed_cutoperator= (const BB_indexed_cut &)

Private Attributes

int index_

Static Private Attributes

static BCP_MemPool memPool

Detailed Description

When doing a sprint sort of algorithm on the cuts (i.e., leave out a number of cuts at the beginning and add them only as necessary) this object represents one of these cuts.

Only the index of the cut needs to be stored.

Definition at line 19 of file BB_cut.hpp.


Constructor & Destructor Documentation

BB_indexed_cut::BB_indexed_cut (  )  [private]

BB_indexed_cut::BB_indexed_cut ( const BB_indexed_cut  )  [private]

BB_indexed_cut::BB_indexed_cut ( BCP_buffer buf  ) 

Constructor from content of buffer.

BB_indexed_cut::BB_indexed_cut ( int  index,
double  lb,
double  ub 
)

Constructor from the index itself.

BB_indexed_cut::~BB_indexed_cut (  )  [inline]

Destructor.

Definition at line 55 of file BB_cut.hpp.


Member Function Documentation

BB_indexed_cut& BB_indexed_cut::operator= ( const BB_indexed_cut  )  [private]

static void* BB_indexed_cut::operator new ( size_t  size  )  [inline, static]

Definition at line 35 of file BB_cut.hpp.

References BCP_MemPool::alloc(), and memPool.

static void BB_indexed_cut::operator delete ( void *  p,
size_t  size 
) [inline, static]

Definition at line 39 of file BB_cut.hpp.

References BCP_MemPool::free(), and memPool.

void BB_indexed_cut::pack ( BCP_buffer buf  )  const

Packing cut to a buffer.

int BB_indexed_cut::index (  )  const [inline]

Constructor from content of buffer.

Definition at line 57 of file BB_cut.hpp.

References index_.


Member Data Documentation

BCP_MemPool BB_indexed_cut::memPool [static, private]

Definition at line 29 of file BB_cut.hpp.

Referenced by operator delete(), and operator new().

int BB_indexed_cut::index_ [private]

Definition at line 31 of file BB_cut.hpp.

Referenced by index().


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