AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
QuadraticProbingHashTable.h File Reference
#include <agx/Math.h>
#include <agx/agx.h>
#include <agx/ref_ptr.h>
#include <agx/HashFunction.h>
#include <agx/Container.h>
#include <agx/Allocator.h>
#include <cstddef>

Go to the source code of this file.

Classes

class  agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket
 
class  agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::insert_iterator
 
class  agx::QuadraticProbingHashTable< KeyT, DataT, HashT, AllocatorT >
 Inheritance with partial specialization due to bug with ref_ptr containers. More...
 
class  agx::QuadraticProbingHashTable< agx::ref_ptr< KeyT >, DataT, HashT, AllocatorT >
 
class  agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >
 A simple hash table using quadratic probing. More...
 
class  agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::template_iterator< T >
 

Namespaces

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 

Macros

#define AGX_HASH_TABLE_GROW_FACTOR   2.0
 
#define AGX_HASH_TABLE_GROW_THRESHOLD   0.8
 
#define AGX_HASH_TABLE_MAX_PROBE_LENGTH   10
 
#define AGX_HASH_TABLE_MIN_SIZE   4
 
#define AGX_HASH_TABLE_SHRINK_FACTOR   0.5
 
#define AGX_HASH_TABLE_SHRINK_THRESHOLD   0.25
 
#define AGX_HASH_TABLE_SMOOTHING_FACTOR   0.8f
 

Macro Definition Documentation

◆ AGX_HASH_TABLE_GROW_FACTOR

#define AGX_HASH_TABLE_GROW_FACTOR   2.0

Definition at line 59 of file QuadraticProbingHashTable.h.

◆ AGX_HASH_TABLE_GROW_THRESHOLD

#define AGX_HASH_TABLE_GROW_THRESHOLD   0.8

Definition at line 57 of file QuadraticProbingHashTable.h.

◆ AGX_HASH_TABLE_MAX_PROBE_LENGTH

#define AGX_HASH_TABLE_MAX_PROBE_LENGTH   10

Definition at line 62 of file QuadraticProbingHashTable.h.

◆ AGX_HASH_TABLE_MIN_SIZE

#define AGX_HASH_TABLE_MIN_SIZE   4

Definition at line 55 of file QuadraticProbingHashTable.h.

◆ AGX_HASH_TABLE_SHRINK_FACTOR

#define AGX_HASH_TABLE_SHRINK_FACTOR   0.5

Definition at line 60 of file QuadraticProbingHashTable.h.

◆ AGX_HASH_TABLE_SHRINK_THRESHOLD

#define AGX_HASH_TABLE_SHRINK_THRESHOLD   0.25

Definition at line 58 of file QuadraticProbingHashTable.h.

◆ AGX_HASH_TABLE_SMOOTHING_FACTOR

#define AGX_HASH_TABLE_SMOOTHING_FACTOR   0.8f

Definition at line 61 of file QuadraticProbingHashTable.h.