NodePool

Declared in astar/structures/ads/NodePool.h; the same class on the site of Doxygen.

template<class NodeT>
class NodePool : public ADS::Arena<NodeT, ADS::HugePageAllocator<NodeT>>

the arena of the nodes, on the Arena of ADS, on huge pages

The interface is the one described in Node.h.

Public Functions

inline explicit NodePool(std::size_t chunk = std::size_t(1) << 16)

constructor, taking the number of nodes of a chunk

inline NodeT *allocate(void)

returns a new (value-initialized) node, whose address never changes