Public Types |
typedef THash< TGraphKey, TDat >
::TIter | TIter |
Public Member Functions |
| | TGHash (const bool &HashTrees, const int &MaxIsoCheck=8, const int &MaxSvdGraph=500) |
| | TGHash (TSIn &SIn) |
| void | Save (TSOut &SOut) const |
| const TDat & | operator[] (const int &KeyId) const |
| TDat & | operator[] (const int &KeyId) |
| const TDat & | operator() (const TGraphKey &Key) const |
| TDat & | operator() (const TGraphKey &Key) |
| TIter | BegI () const |
| TIter | EndI () const |
| TIter | GetI (const int &KeyId) const |
| bool | HashTrees () const |
| void | Gen (const int &Ports) |
| 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 |
| bool | IsKeyIdEqKeyN () const |
| int | AddKey (const PNGraph &Graph) |
| TDat & | AddDat (const PNGraph &Graph) |
| TDat & | AddDat (const PNGraph &Graph, const TDat &Dat) |
| bool | IsKey (const PNGraph &Graph) const |
| int | GetKeyId (const PNGraph &Graph) const |
| const TDat & | GetDat (const PNGraph &Graph) const |
| TDat & | GetDat (const PNGraph &Graph) |
| const TGraphKey & | GetKey (const int &KeyId) const |
| int | GetKeyId (const TGraphKey &Key) const |
| bool | IsKey (const TGraphKey &Key) const |
| bool | IsKey (const TGraphKey &Key, int &KeyId) const |
| bool | IsKeyId (const int &KeyId) const |
| const TDat & | GetDat (const TGraphKey &Key) const |
| TDat & | GetDat (const TGraphKey &Key) |
| const TDat & | GetDatId (const int &KeyId) const |
| TDat & | GetDatId (const int &KeyId) |
| void | GetKeyDat (const int &KeyId, TGraphKey &Key, TDat &Dat) const |
| bool | IsKeyGetDat (const TGraphKey &Key, TDat &Dat) const |
| bool | GetNodeMap (const PNGraph &Graph, TIntPrV &NodeMapV) const |
| bool | GetNodeMap (const PNGraph &Graph, TIntPrV &NodeMapV, int &KeyId) const |
| int | FFirstKeyId () const |
| bool | FNextKeyId (int &KeyId) const |
| void | GetKeyV (TVec< TGraphKey > &KeyV) const |
| void | GetDatV (TVec< TDat > &DatV) const |
| void | GetKeyIdByDat (TIntV &KeyIdV, const bool &Asc=true) const |
| void | GetKeyIdByGSz (TIntV &KeyIdV, const bool &Asc=true) const |
| void | GetKeyDatPrV (TVec< TPair< TGraphKey, TDat > > &KeyDatPrV) const |
| void | GetDatKeyPrV (TVec< TPair< TDat, TGraphKey > > &DatKeyPrV) const |
| void | Defrag () |
| void | Pack () |
| void | DrawGViz (const int &KeyId, const TStr &OutFNmPref, const TStr &OutputType="gif", TStr Desc="") const |
| void | DrawGViz (const TIntV &KeyIdV, const TStr &OutFNmPref, const TStr &OutputType="gif") const |
| void | SaveTxt (const TStr &OutFNm, const TStr &Desc, const TStr &DatColNm, const bool &SortByKeyVal=true) const |
| void | SaveDetailTxt (const TStr &OutFNm, const TStr &Desc, const TStr &DatColNm) const |
template<class TDat>
class TGHash< TDat >
Graph Hash Table, a hash table where keys are (little) undirected graphs. Class is useful for counting frequencies of small subgraphs or information cascades.