openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Classes similar to unordered_set and unordered_map, but with better performance. More...
#include <stdint.h>
#include <limits.h>
#include <stdexcept>
#include <algorithm>
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
hashmap | |
Typedefs | |
typedef unsigned long int | hm_uint |
typedef long int | hm_int |
Functions | |
hm_uint | hashmap::mkhash (hm_uint a, hm_uint b) |
hm_uint | hashmap::mkhash_add (hm_uint a, hm_uint b) |
hm_uint | hashmap::mkhash_xorshift (hm_uint a) |
template<typename T > | |
hm_uint | hashmap::mkhash (const T &v) |
hm_int | hashmap::hashtable_size (hm_int min_size) |
Variables | |
const hm_int | hashmap::hashtable_size_trigger = 2 |
const hm_int | hashmap::hashtable_size_factor = 3 |
const hm_uint | hashmap::mkhash_init = 5381 |
Classes similar to unordered_set and unordered_map, but with better performance.
This code is based on hashlib.h by Clifford Wolf cliff. ord@ cliff ord. at
Definition in file hashmap.hpp.
typedef long int hm_int |
Definition at line 44 of file hashmap.hpp.
typedef unsigned long int hm_uint |
Definition at line 43 of file hashmap.hpp.