Generated on Mon Aug 25 11:35:49 2008 for Gecode by doxygen 1.5.6

Gecode::BranchingDesc Class Reference
[Programming actors]

Inherited by Gecode::PosValDesc< Val, alt >, and Test::Search::PosValuesDesc.

List of all members.


Detailed Description

Branch description for batch recomputation.

Must be refined by inheritance such that the information stored inside a branching description is sufficient to redo a tell performed by a particular branching.

Definition at line 895 of file core.icc.


Public Member Functions

unsigned int alternatives (void) const
 Return number of alternatives.
virtual ~BranchingDesc (void)
 Destructor.
virtual size_t size (void) const =0
 Report size occupied by branching description.

Static Public Member Functions

static void * operator new (size_t)
 Allocate memory from heap.
static void operator delete (void *)
 Return memory to heap.

Protected Member Functions

 BranchingDesc (const Branching *b, const unsigned int a)
 Initialize for particular branching b and alternatives a.

Constructor & Destructor Documentation

Gecode::BranchingDesc::BranchingDesc ( const Branching b,
const unsigned int  a 
) [inline, protected]

Initialize for particular branching b and alternatives a.

Definition at line 1713 of file core.icc.

Gecode::BranchingDesc::~BranchingDesc ( void   )  [inline, virtual]

Destructor.

Definition at line 1727 of file core.icc.


Member Function Documentation

unsigned int Gecode::BranchingDesc::alternatives ( void   )  const [inline]

Return number of alternatives.

Definition at line 1717 of file core.icc.

virtual size_t Gecode::BranchingDesc::size ( void   )  const [pure virtual]

Report size occupied by branching description.

Implemented in Gecode::PosValDesc< Val, alt >, and Test::Search::PosValuesDesc.

void * Gecode::BranchingDesc::operator new ( size_t  s  )  [inline, static]

Allocate memory from heap.

Definition at line 1340 of file core.icc.

void Gecode::BranchingDesc::operator delete ( void *  p  )  [inline, static]

Return memory to heap.

Definition at line 1336 of file core.icc.


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