#include <hash_table.hh>
Public Types | |
using | id_t = util::id_t |
using | key_t = KEY |
using | type_t = TYPE |
Static Public Member Functions | |
template<typename S > | |
static type_t * | find (S &index_space, key_t key) |
Find a value in the hashtable While the value or a null key is not found we keep looping. | |
template<typename S , class... ARGS> | |
static type_t * | insert (S &index_space, const key_t &key, ARGS &&... args) |
Insert an object in the hash map at a defined position This function tries to find the first available position in case of conflict using modulo method. | |
static size_t | hash (const key_t &key) |
the Hash function transforming a key in position in the hash table. | |
Hash table class for the tree topology. This is a generic representation based on an index space implementing find insert and find functions