19#ifndef __PBeFS_ads_NodeTable
20 #define __PBeFS_ads_NodeTable
29#include "ADS/dictionary/PointerTable.h"
46template<
class NodeT >
48 :
public ADS::PointerTable< NodeT , ADS::StateEqual ,
49 ADS::HugePageAllocator< std::byte > > {
55 [[nodiscard]]
static std::size_t
slots_for( std::size_t n )
noexcept {
56 return( n / 7 * 10 + 16 );
62 : ADS::PointerTable< NodeT , ADS::StateEqual ,
63 ADS::HugePageAllocator< std::byte > >( capacity ) {}
Header file for the small helpers shared by the searches: a stopwatch, the placement of the workers o...
static std::size_t slots_for(std::size_t n) noexcept
the number of slots that holds n nodes without growing
Definition NodeTable.h:55
NodeTable(std::size_t capacity=1024)
constructor, taking the initial number of slots
Definition NodeTable.h:61
namespace for the Parallel Best-First Search library
Definition AStar.h:83