Gecode::BranchingDesc Class Reference
[Programming actors]
Inherited by Gecode::PosValDesc< Val, alt >, and Test::Search::PosValuesDesc.
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] |
Gecode::BranchingDesc::~BranchingDesc | ( | void | ) | [inline, virtual] |
Member Function Documentation
unsigned int Gecode::BranchingDesc::alternatives | ( | void | ) | const [inline] |
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] |
void Gecode::BranchingDesc::operator delete | ( | void * | p | ) | [inline, static] |
The documentation for this class was generated from the following file:
- gecode/kernel/core.icc (Revision: 7332)