#include <node.hh>
Public Member Functions | |
NodeAllocatorBase (bool bab) | |
Constructor. | |
~NodeAllocatorBase (void) | |
Destructor. | |
int | allocate (int p) |
Allocate new node with parent p. | |
int | allocate (Space *root) |
Allocate new root node for space root. | |
T * | operator[] (int i) const |
Return node for index i. | |
T * | best (int i) const |
Return index of best node before i. | |
void | setBest (int i, int b) |
Set index of best node before i to b. | |
bool | bab (void) const |
Return branch-and-bound flag. |
Node allocator.
Gecode::Gist::NodeAllocatorBase< T >::NodeAllocatorBase | ( | bool | bab | ) |
Gecode::Gist::NodeAllocatorBase< T >::~NodeAllocatorBase | ( | void | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |