Generated on Wed Nov 1 15:05:13 2006 for Gecode by doxygen 1.4.5

Gecode::BranchingDesc Class Reference
[Programming actors]

Inherited by Gecode::Int::Branch::AssignDesc, and Gecode::PosValDesc< Val >.

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 521 of file core.icc.

Public Member Functions

virtual ~BranchingDesc (void)
 Destructor.
unsigned int alternatives (void) const
 Return number of alternatives.
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 1391 of file core.icc.

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

Destructor.

Definition at line 1400 of file core.icc.


Member Function Documentation

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

Return number of alternatives.

Definition at line 1395 of file core.icc.

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

Report size occupied by branching description.

Implemented in Gecode::Int::Branch::AssignDesc, and Gecode::PosValDesc< Val >.

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

Allocate memory from heap.

Definition at line 973 of file core.icc.

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

Return memory to heap.

Definition at line 969 of file core.icc.


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