#include <PSet.hpp>
Inheritance diagram for lemur::utility::PSet< ObjType >:
Public Member Functions | |
PSet () | |
PSet (const int maxSize_p) | |
~PSet () | |
const int | size () const |
const int | maxsize () const |
void | open (const int maxSize_p) |
void | close () |
void | clear () |
int | add (const ObjType &u) |
int | remove (const ObjType &u) |
int | operator+= (const ObjType &u) |
int | operator-= (const ObjType &u) |
const ObjType & | operator[] (const int idx) const |
int | operator[] (const ObjType &u) const |
Protected Member Functions | |
SET_NODE * | internalAdd (const ObjType &u) |
int | internalRemove (const ObjType &u) |
long | smallestPrimeGreaterThan (const int n) |
int | computeHash (const ObjType &u) const |
SET_NODE * | createNode (const ObjType &u) |
void | deleteNode (SET_NODE *node) |
Protected Attributes | |
int | currentSize |
int | maxSize |
int | hashTableSize |
SET_NODE ** | hashTable |
int | setNodeSize |
|
|
|
|
|
|
|
Reimplemented in lemur::utility::ISet< ObjType >, lemur::utility::ISet< FreqCount >, and lemur::utility::ISet< FloatFreqCounter >. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in lemur::utility::ISet< ObjType >, lemur::utility::ISet< FreqCount >, and lemur::utility::ISet< FloatFreqCounter >. |
|
|
|
|
|
|
Reimplemented in lemur::utility::ISet< ObjType >, lemur::utility::ISet< FreqCount >, and lemur::utility::ISet< FloatFreqCounter >. |
|
Reimplemented in lemur::utility::ISet< ObjType >, lemur::utility::ISet< lemur::utility::ResultEntry >, lemur::utility::ISet< FreqCount >, and lemur::utility::ISet< FloatFreqCounter >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|