SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
Public Types | |
typedef THashSetKeyI< TKey > | TIter |
Public Member Functions | |
THashSet () | |
THashSet (const THashSet &Set) | |
THashSet (const int &ExpectVals, const bool &_AutoSizeP=false) | |
THashSet (const TVec< TKey > &KeyV) | |
THashSet (TSIn &SIn) | |
void | Load (TSIn &SIn) |
void | Save (TSOut &SOut) const |
void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm="") |
void | SaveXml (TSOut &SOut, const TStr &Nm) |
THashSet & | operator= (const THashSet &Set) |
bool | operator== (const THashSet &Set) const |
const TKey & | operator[] (const int &KeyId) const |
TKey & | operator[] (const int &KeyId) |
::TSize | GetMemUsed () const |
TIter | BegI () const |
TIter | EndI () const |
TIter | GetI (const TKey &Key) const |
void | Gen (const int &ExpectVals) |
void | Clr (const bool &DoDel=true, const int &NoDelLim=-1) |
bool | Empty () const |
int | Len () const |
int | GetPorts () const |
bool | IsAutoSize () const |
int | GetMxKeyIds () const |
int | GetReservedKeyIds () const |
bool | IsKeyIdEqKeyN () const |
int | AddKey (const TKey &Key) |
void | AddKeyV (const TVec< TKey > &KeyV) |
void | DelKey (const TKey &Key) |
void | DelIfKey (const TKey &Key) |
void | DelKeyId (const int &KeyId) |
void | DelKeyIdV (const TIntV &KeyIdV) |
void | MarkDelKey (const TKey &Key) |
void | MarkDelKeyId (const int &KeyId) |
const TKey & | GetKey (const int &KeyId) const |
int | GetKeyId (const TKey &Key) const |
int | GetRndKeyId (TRnd &Rnd) const |
bool | IsKey (const TKey &Key) const |
bool | IsKey (const TKey &Key, int &KeyId) const |
bool | IsKeyId (const int &KeyId) const |
int | FFirstKeyId () const |
bool | FNextKeyId (int &KeyId) const |
void | GetKeyV (TVec< TKey > &KeyV) const |
void | Swap (THashSet &Set) |
void | Defrag () |
void | Pack () |
Static Public Member Functions | |
static THashSet< TKey > | GetSet (const TKey &Key1) |
static THashSet< TKey > | GetSet (const TKey &Key1, const TKey &Key2) |
static THashSet< TKey > | GetSet (const TKey &Key1, const TKey &Key2, const TKey &Key3) |
static THashSet< TKey > | GetSet (const TKey &Key1, const TKey &Key2, const TKey &Key3, const TKey &Key4) |
static THashSet< TKey > | GetSet (const TKey &Key1, const TKey &Key2, const TKey &Key3, const TKey &Key4, const TKey &Key5) |
static THashSet< TKey > | GetSet (const TKey &Key1, const TKey &Key2, const TKey &Key3, const TKey &Key4, const TKey &Key5, const TKey &Key6) |
static THashSet< TKey > | GetSet (const TKey &Key1, const TKey &Key2, const TKey &Key3, const TKey &Key4, const TKey &Key5, const TKey &Key6, const TKey &Key7) |
static THashSet< TKey > | GetSet (const TKey &Key1, const TKey &Key2, const TKey &Key3, const TKey &Key4, const TKey &Key5, const TKey &Key6, const TKey &Key7, const TKey &Key8) |
static THashSet< TKey > | GetSet (const TKey &Key1, const TKey &Key2, const TKey &Key3, const TKey &Key4, const TKey &Key5, const TKey &Key6, const TKey &Key7, const TKey &Key8, const TKey &Key9) |
typedef THashSetKeyI<TKey> THashSet< TKey, THashFunc >::TIter |
THashSet< TKey, THashFunc >::THashSet | ( | ) | [inline] |
THashSet< TKey, THashFunc >::THashSet | ( | const THashSet< TKey, THashFunc > & | Set | ) | [inline] |
THashSet< TKey, THashFunc >::THashSet | ( | const int & | ExpectVals, |
const bool & | _AutoSizeP = false |
||
) |
THashSet< TKey, THashFunc >::THashSet | ( | const TVec< TKey > & | KeyV | ) | [explicit] |
THashSet< TKey, THashFunc >::THashSet | ( | TSIn & | SIn | ) | [inline, explicit] |
void THashSet< TKey, THashFunc >::AddKeyV | ( | const TVec< TKey > & | KeyV | ) |
TIter THashSet< TKey, THashFunc >::BegI | ( | ) | const [inline] |
void THashSet< TKey, THashFunc >::Clr | ( | const bool & | DoDel = true , |
const int & | NoDelLim = -1 |
||
) |
void THashSet< TKey, THashFunc >::DelIfKey | ( | const TKey & | Key | ) | [inline] |
void THashSet< TKey, THashFunc >::DelKeyId | ( | const int & | KeyId | ) | [inline] |
void THashSet< TKey, THashFunc >::DelKeyIdV | ( | const TIntV & | KeyIdV | ) | [inline] |
bool THashSet< TKey, THashFunc >::Empty | ( | ) | const [inline] |
TIter THashSet< TKey, THashFunc >::EndI | ( | ) | const [inline] |
int THashSet< TKey, THashFunc >::FFirstKeyId | ( | ) | const [inline] |
bool THashSet< TKey, THashFunc >::FNextKeyId | ( | int & | KeyId | ) | const |
void THashSet< TKey, THashFunc >::Gen | ( | const int & | ExpectVals | ) | [inline] |
TIter THashSet< TKey, THashFunc >::GetI | ( | const TKey & | Key | ) | const [inline] |
const TKey& THashSet< TKey, THashFunc >::GetKey | ( | const int & | KeyId | ) | const [inline] |
int THashSet< TKey, THashFunc >::GetKeyId | ( | const TKey & | Key | ) | const |
void THashSet< TKey, THashFunc >::GetKeyV | ( | TVec< TKey > & | KeyV | ) | const |
::TSize THashSet< TKey, THashFunc >::GetMemUsed | ( | ) | const [inline] |
int THashSet< TKey, THashFunc >::GetMxKeyIds | ( | ) | const [inline] |
int THashSet< TKey, THashFunc >::GetPorts | ( | ) | const [inline] |
int THashSet< TKey, THashFunc >::GetReservedKeyIds | ( | ) | const [inline] |
int THashSet< TKey, THashFunc >::GetRndKeyId | ( | TRnd & | Rnd | ) | const [inline] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1 | ) | [inline, static] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1, |
const TKey & | Key2 | ||
) | [inline, static] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1, |
const TKey & | Key2, | ||
const TKey & | Key3 | ||
) | [inline, static] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1, |
const TKey & | Key2, | ||
const TKey & | Key3, | ||
const TKey & | Key4 | ||
) | [inline, static] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1, |
const TKey & | Key2, | ||
const TKey & | Key3, | ||
const TKey & | Key4, | ||
const TKey & | Key5 | ||
) | [inline, static] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1, |
const TKey & | Key2, | ||
const TKey & | Key3, | ||
const TKey & | Key4, | ||
const TKey & | Key5, | ||
const TKey & | Key6 | ||
) | [inline, static] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1, |
const TKey & | Key2, | ||
const TKey & | Key3, | ||
const TKey & | Key4, | ||
const TKey & | Key5, | ||
const TKey & | Key6, | ||
const TKey & | Key7 | ||
) | [inline, static] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1, |
const TKey & | Key2, | ||
const TKey & | Key3, | ||
const TKey & | Key4, | ||
const TKey & | Key5, | ||
const TKey & | Key6, | ||
const TKey & | Key7, | ||
const TKey & | Key8 | ||
) | [inline, static] |
static THashSet<TKey> THashSet< TKey, THashFunc >::GetSet | ( | const TKey & | Key1, |
const TKey & | Key2, | ||
const TKey & | Key3, | ||
const TKey & | Key4, | ||
const TKey & | Key5, | ||
const TKey & | Key6, | ||
const TKey & | Key7, | ||
const TKey & | Key8, | ||
const TKey & | Key9 | ||
) | [inline, static] |
bool THashSet< TKey, THashFunc >::IsAutoSize | ( | ) | const [inline] |
bool THashSet< TKey, THashFunc >::IsKey | ( | const TKey & | Key | ) | const [inline] |
bool THashSet< TKey, THashFunc >::IsKey | ( | const TKey & | Key, |
int & | KeyId | ||
) | const [inline] |
bool THashSet< TKey, THashFunc >::IsKeyId | ( | const int & | KeyId | ) | const [inline] |
bool THashSet< TKey, THashFunc >::IsKeyIdEqKeyN | ( | ) | const [inline] |
int THashSet< TKey, THashFunc >::Len | ( | ) | const [inline] |
void THashSet< TKey, THashFunc >::Load | ( | TSIn & | SIn | ) | [inline] |
void THashSet< TKey, THashFunc >::LoadXml | ( | const PXmlTok & | XmlTok, |
const TStr & | Nm = "" |
||
) | [inline] |
void THashSet< TKey, THashFunc >::MarkDelKey | ( | const TKey & | Key | ) |
void THashSet< TKey, THashFunc >::MarkDelKeyId | ( | const int & | KeyId | ) | [inline] |
THashSet& THashSet< TKey, THashFunc >::operator= | ( | const THashSet< TKey, THashFunc > & | Set | ) | [inline] |
bool THashSet< TKey, THashFunc >::operator== | ( | const THashSet< TKey, THashFunc > & | Set | ) | const |
const TKey& THashSet< TKey, THashFunc >::operator[] | ( | const int & | KeyId | ) | const [inline] |
TKey& THashSet< TKey, THashFunc >::operator[] | ( | const int & | KeyId | ) | [inline] |
void THashSet< TKey, THashFunc >::Pack | ( | ) | [inline] |
void THashSet< TKey, THashFunc >::Save | ( | TSOut & | SOut | ) | const [inline] |
void THashSet< TKey, THashFunc >::SaveXml | ( | TSOut & | SOut, |
const TStr & | Nm | ||
) | [inline] |
void THashSet< TKey, THashFunc >::Swap | ( | THashSet< TKey, THashFunc > & | Set | ) |