aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
hashFunc.h File Reference

Classes providing basic hash functions for hash tables. More...

#include <climits>
#include <string>
#include <utility>
#include <agrum/agrum.h>
#include <agrum/base/core/refPtr.h>
#include <type_traits>
#include <agrum/base/core/hashFunc_inl.h>
#include <agrum/base/core/hashFunc_tpl.h>
Include dependency graph for hashFunc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gum::HashFuncConst
 Useful constants for hash functions. More...
class  gum::HashFuncBase< Key >
 All hash functions should inherit from this class. More...
class  gum::HashFuncSmallKey< Key >
 Generic hash functions for numeric keys smaller than or equal to Size. More...
class  gum::HashFuncSmallCastKey< Key >
 Generic hash functions for keys castable as Size and whose size is strictly smaller than that of Size. More...
class  gum::HashFuncMediumCastKey< Key >
 Generic hash functions for keys castable as Size and whose size is precisely that of Size. More...
class  gum::HashFuncLargeCastKey< Key >
 Generic hash functions for keys castable as Size and whose size is precisely twice that of Size. More...
class  gum::HashFuncCastKey< Key >
 Generic hash functions for keys castable as Size whose size is either smaller than Size, or equal to that of one or two Size. More...
class  gum::dummyHash< Key >
struct  gum::HashFuncConditionalType< Key >
struct  gum::HashFuncConditionalType< KEY_TYPE, TYPE >
struct  gum::HashFuncConditionalType< KEY_TYPE, FIRST_TYPE, OTHER_TYPES... >
class  gum::HashFunc< key >
 This class should be useless as only its specializations should be used. More...
class  gum::HashFunc< std::pair< Key1, Key2 > >
class  gum::HashFunc< bool >
 Hash function for booleans. More...
class  gum::HashFunc< int >
 Hash function for integers. More...
class  gum::HashFunc< unsigned int >
 Hash function for unsigned integers. More...
class  gum::HashFunc< long >
 Hash function for long integers. More...
class  gum::HashFunc< unsigned long >
 Hash function for unsigned long integers. More...
class  gum::HashFunc< typename HashFuncConditionalType< std::size_t, unsigned long, unsigned int, long, int >::type >
 Hash function for std::size_t. More...
class  gum::HashFunc< float >
 Hash function for floats. More...
class  gum::HashFunc< double >
 Hash function for doubles. More...
class  gum::HashFunc< Type * >
 Hash function for pointers. More...
class  gum::HashFunc< std::string >
 Hash function for strings. More...
class  gum::HashFunc< std::vector< Idx > >
 Hash function for vectors of gum::Idx. More...
class  gum::HashFunc< Debug >
 Hash function for gum::Debug. More...
class  gum::HashFunc< RefPtr< Type > >
 Hash function for RefPtr. More...

Namespaces

namespace  gum
 gum is the global namespace for all aGrUM entities

Functions

unsigned int gum::_hashTableLog2_ (const Size nb)
 Returns the size in bits - 1 necessary to store the smallest power of 2 greater than or equal to nb.

Detailed Description

Classes providing basic hash functions for hash tables.

Author
Christophe GONZALES(_at_AMU) and Pierre-Henri WUILLEMIN(_at_LIP6)

Definition in file hashFunc.h.