Scippy

SoPlex

Sequential object-oriented simPlex

datahashtable.h File Reference

Generic hash table for data objects. More...

#include <iostream>
#include <assert.h>
#include <limits.h>
#include "soplex/spxdefines.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
 

Detailed Description

Generic hash table for data objects.

Definition in file datahashtable.h.

Macro Definition Documentation

◆ HASHTABLE_FILLFACTOR

#define HASHTABLE_FILLFACTOR   0.7