Loading...
Searching...
No Matches
datahashtable.h
Go to the documentation of this file.
126 /// memory is \ref soplex::DataHashTable::reMax() "reMax()"ed by this factor if a new element does't fit
Save arrays of arbitrary types. template class for elements stored in the hash table Definition datahashtable.h:98 enum soplex::DataHashTable::Element::states stat const Info * get(const HashItem &h) const returns const pointer to Info of HashItem h or 0, if item is not found. Definition datahashtable.h:151 Real m_memfactor memory is reMax()ed by this factor if a new element does't fit Definition datahashtable.h:127 int(* m_hashfun)(const HashItem *) pointer to hash function (mapping: HashItem -> int) Definition datahashtable.h:125 void remove(const HashItem &h) remove HashItem h from the DataHashTable. Definition datahashtable.h:205 DataHashTable & operator=(const DataHashTable &base) assignment operator. Definition datahashtable.h:356 void reMax(int newSize=-1, int newHashSize=0) reset size of the DataHashTable. Definition datahashtable.h:231 const Info & operator[](const HashItem &h) const references Info of HashItem h. Definition datahashtable.h:164 DataHashTable(int(*hashfun)(const HashItem *), int maxsize=265, int hashsize=0, Real factor=2.0) default constructor. Definition datahashtable.h:293 void add(const HashItem &h, const Info &info) adds a new entry to the hash table. Definition datahashtable.h:177 int index(const HashItem &h) const returns hash index of HashItem h or -1, if h is not present. Definition datahashtable.h:475 Everything should be within this namespace. Debugging, floating point type and parameter definitions.
|