AGX Dynamics  2.37.3.2
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

 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

◆ AGX_HASH_TABLE_GROW_THRESHOLD

◆ AGX_HASH_TABLE_MAX_PROBE_LENGTH

◆ AGX_HASH_TABLE_MIN_SIZE

◆ AGX_HASH_TABLE_SHRINK_FACTOR

◆ AGX_HASH_TABLE_SHRINK_THRESHOLD

◆ AGX_HASH_TABLE_SMOOTHING_FACTOR