PBeFS
Parallel Best-First Search
Loading...
Searching...
No Matches
NodePool< NodeT > Class Template Reference

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

#include <PBeFS/astar/structures/ads/NodePool.h>

Inheritance diagram for NodePool< NodeT >:

Public Member Functions

 NodePool (std::size_t chunk=std::size_t(1)<< 16)
 constructor, taking the number of nodes of a chunk
NodeT * allocate (void)
 returns a new (value-initialized) node, whose address never changes

Detailed Description

template<class NodeT>
class PBeFS_di_unipi_it::NodePool< NodeT >

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

The interface is the one described in Node.h.

Constructor & Destructor Documentation

◆ NodePool()

template<class NodeT>
NodePool ( std::size_t chunk = std::size_t( 1 ) << 16)
inlineexplicit

constructor, taking the number of nodes of a chunk

Member Function Documentation

◆ allocate()

template<class NodeT>
NodeT * allocate ( void )
inlinenodiscard

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


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