Generic hash table for data objects. More...
#include <iostream>
#include <assert.h>
#include <limits.h>
#include "soplex/spxdefines.h"
#include "soplex/array.h"
Go to the source code of this file.
Classes | |
class | DataHashTable< HashItem, Info > |
Generic hash table for data objects.Class DataHashTable provides a generic hash table for Data Objects, i.e., a map that maps arguments called HashItems to values called Infos. HashItem and Info types are passed as template arguments. HashItems must provide a comparison operator==(). Furthermore, both the HashItem and Info must be data objects in the sense that the assignment operator is equivalent to a memcpy() of the structure and no destructor is required. More... | |
class | DataHashTable< HashItem, Info >::Element< ElemHashItem, ElemInfo > |
template class for elements stored in the hash table More... | |
Namespaces | |
soplex | |
Everything should be within this namespace. | |
Macros | |
#define | HASHTABLE_FILLFACTOR 0.7 |
Generic hash table for data objects.
Definition in file datahashtable.h.
#define HASHTABLE_FILLFACTOR 0.7 |
Definition at line 29 of file datahashtable.h.
Referenced by DataHashTable< soplex::NameSet::Name, soplex::DataKey >::add(), and NameSet::add().