AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
agx/HashSet.h File Reference
#include <agx/agx.h>
#include <agx/ref_ptr.h>
#include <agx/Math.h>
#include <agx/HashFunction.h>
#include <agx/Container.h>
#include <agx/Allocator.h>
#include <agx/Integer.h>
#include <algorithm>

Go to the source code of this file.

Classes

class  agx::HashSetImplementation< KeyT, HashT, AllocatorT >::Bucket
 
class  agx::HashSet< KeyT, HashT, AllocatorT >
 Inheritance with partial specialization due to bug with ref_ptr containers. More...
 
class  agx::HashSet< agx::ref_ptr< KeyT >, HashT, AllocatorT >
 
class  agx::HashSetImplementation< KeyT, HashT, AllocatorT >
 Same as hash table, but only containing keys, not key-value pairs. More...
 
class  agx::HashSetImplementation< KeyT, HashT, AllocatorT >::insert_iterator
 
class  agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >
 

Namespaces

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

Macros

#define AGX_DECLARE_HASHSET_TYPES(type)
 
#define AGX_HASH_SET_GROW_FACTOR   2.0
 
#define AGX_HASH_SET_GROW_THRESHOLD   0.8
 
#define AGX_HASH_SET_MAX_PROBE_LENGTH   10
 
#define AGX_HASH_SET_MIN_SIZE   1
 
#define AGX_HASH_SET_SHRINK_FACTOR   0.5
 
#define AGX_HASH_SET_SHRINK_THRESHOLD   0.25
 
#define AGX_HASH_SET_SMOOTHING_FACTOR   0.8
 

Macro Definition Documentation

◆ AGX_DECLARE_HASHSET_TYPES

#define AGX_DECLARE_HASHSET_TYPES (   type)
Value:
typedef agx::HashSet<type ## Ref> type ## RefSet; \
typedef agx::HashSet<type ## Observer> type ## ObserverSet; \
typedef agx::HashSet<type *> type ## PtrSet
Inheritance with partial specialization due to bug with ref_ptr containers.
Definition: agx/HashSet.h:670

Definition at line 32 of file agx/HashSet.h.

◆ AGX_HASH_SET_GROW_FACTOR

#define AGX_HASH_SET_GROW_FACTOR   2.0

Definition at line 67 of file agx/HashSet.h.

◆ AGX_HASH_SET_GROW_THRESHOLD

#define AGX_HASH_SET_GROW_THRESHOLD   0.8

Definition at line 65 of file agx/HashSet.h.

◆ AGX_HASH_SET_MAX_PROBE_LENGTH

#define AGX_HASH_SET_MAX_PROBE_LENGTH   10

Definition at line 70 of file agx/HashSet.h.

◆ AGX_HASH_SET_MIN_SIZE

#define AGX_HASH_SET_MIN_SIZE   1

Definition at line 63 of file agx/HashSet.h.

◆ AGX_HASH_SET_SHRINK_FACTOR

#define AGX_HASH_SET_SHRINK_FACTOR   0.5

Definition at line 68 of file agx/HashSet.h.

◆ AGX_HASH_SET_SHRINK_THRESHOLD

#define AGX_HASH_SET_SHRINK_THRESHOLD   0.25

Definition at line 66 of file agx/HashSet.h.

◆ AGX_HASH_SET_SMOOTHING_FACTOR

#define AGX_HASH_SET_SMOOTHING_FACTOR   0.8

Definition at line 69 of file agx/HashSet.h.