|
SNAP Library 4.1, User Reference
2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <shash.h>
Public Types | |
| typedef TSparseGroup< TVal, GroupSize > | TSGroup |
| typedef TSparseTableI< TVal, GroupSize > | TIter |
Public Member Functions | |
| TSparseTable (const int &MaxVals=0) | |
| TSparseTable (const TSparseTable &ST) | |
| TSparseTable (TSIn &SIn) | |
| void | Load (TSIn &SIn) |
| void | Save (TSOut &SOut) const |
| TSparseTable & | operator= (const TSparseTable &ST) |
| bool | operator== (const TSparseTable &ST) const |
| bool | operator< (const TSparseTable &ST) const |
| ::TSize | GetMemUsed () const |
| TIter | BegI () const |
| TIter | EndI () const |
| TIter | GetI (const int &ValN) const |
| int | Len () const |
| int | Reserved () const |
| int | Groups () const |
| bool | Empty () const |
| uint | GetDiskSz () const |
| void | Clr (const bool &DoDel=true) |
| void | Reserve (const int NewVals) |
| void | Resize (const int &NewVals) |
| void | Swap (TSparseTable &ST) |
| bool | IsEmpty (const int &ValN) const |
| const TVal & | Get (const int &ValN) const |
| TVal & | Set (const int &ValN, const TVal &Val) |
| TVal & | Set (const int &ValN) |
| void | Del (const int &ValN) |
| TSGroup & | GetGroup (const int &GroupN) |
| const TSGroup & | GetGroup (const int &GroupN) const |
Private Member Functions | |
| int | PosInGroup (const int &ValN) const |
| int | GroupNum (const int &ValN) const |
| const TSGroup & | GetGrp1 (const int &ValN) const |
| TSGroup & | GetGrp1 (const int &ValN) |
Static Private Member Functions | |
| static int | GetGroups (const int &Vals) |
Private Attributes | |
| TInt | MxVals |
| TInt | Vals |
| TVec< TSGroup > | GroupV |
| typedef TSparseTableI<TVal, GroupSize> TSparseTable< TVal, GroupSize >::TIter |
| typedef TSparseGroup<TVal, GroupSize> TSparseTable< TVal, GroupSize >::TSGroup |
|
inline |
|
inline |
|
inline |
|
inline |
| void TSparseTable< TVal, GroupSize >::Clr | ( | const bool & | DoDel = true | ) |
| void TSparseTable< TVal, GroupSize >::Del | ( | const int & | ValN | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
| bool TSparseTable< TVal, GroupSize >::operator< | ( | const TSparseTable< TVal, GroupSize > & | ST | ) | const |
| TSparseTable< TVal, GroupSize > & TSparseTable< TVal, GroupSize >::operator= | ( | const TSparseTable< TVal, GroupSize > & | ST | ) |
| bool TSparseTable< TVal, GroupSize >::operator== | ( | const TSparseTable< TVal, GroupSize > & | ST | ) | const |
|
inlineprivate |
|
inline |
|
inline |
| void TSparseTable< TVal, GroupSize >::Resize | ( | const int & | NewVals | ) |
|
inline |
| TVal & TSparseTable< TVal, GroupSize >::Set | ( | const int & | ValN, |
| const TVal & | Val | ||
| ) |
| TVal & TSparseTable< TVal, GroupSize >::Set | ( | const int & | ValN | ) |
| void TSparseTable< TVal, GroupSize >::Swap | ( | TSparseTable< TVal, GroupSize > & | ST | ) |
|
private |
|
private |
|
private |