#include <PSet.hpp>
Inheritance diagram for PSet< ObjType >:
Public Methods | |
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 Methods | |
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 ISet< ObjType >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
Reimplemented in CSet< ObjType, CountType >, ISet< ObjType >, CSet< FreqCount, int >, CSet< FloatFreqCounter, double >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
Reimplemented in CSet< ObjType, CountType >, ISet< ObjType >, CSet< FreqCount, int >, CSet< FloatFreqCounter, double >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
|
|
|
|
|
|
|
|
Reimplemented in ISet< ObjType >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
|
|
Reimplemented in CSet< ObjType, CountType >, ISet< ObjType >, CSet< FreqCount, int >, CSet< FloatFreqCounter, double >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
Reimplemented in CSet< ObjType, CountType >, ISet< ObjType >, CSet< FreqCount, int >, CSet< FloatFreqCounter, double >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
Reimplemented in CSet< ObjType, CountType >, ISet< ObjType >, CSet< FreqCount, int >, CSet< FloatFreqCounter, double >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
Reimplemented in ISet< ObjType >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
Reimplemented in ISet< ObjType >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
Reimplemented in CSet< ObjType, CountType >, ISet< ObjType >, CSet< FreqCount, int >, CSet< FloatFreqCounter, double >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
Reimplemented in FloatFreqVector, HashFreqVector, ISet< ObjType >, ISet< ResultEntry >, ISet< FreqCount >, and ISet< FloatFreqCounter >. |
|
|
|
|
|
|
|
|
|
|
|
|