SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TGraphKey Class Reference

List of all members.

Public Member Functions

 TGraphKey ()
 TGraphKey (const TSFltV &GraphSigV)
 TGraphKey (const TIntV &GraphSigV)
 TGraphKey (const TFltV &GraphSigV)
 TGraphKey (const TGraphKey &GraphKey)
 TGraphKey (TSIn &SIn)
void Save (TSOut &SOut) const
TGraphKeyoperator= (const TGraphKey &GraphKey)
bool operator== (const TGraphKey &GraphKey) const
int GetPrimHashCd () const
int GetSecHashCd () const
int GetNodes () const
int GetEdges () const
int GetSigLen () const
int GetVariant () const
void SetVariant (const int &Variant)
void SetEdgeV (const TIntPrV &EdgeIdV)
PNGraph GetNGraph () const
void TakeGraph (const PNGraph &Graph)
void TakeGraph (const PNGraph &Graph, TIntPrV &NodeMap)
void TakeSig (const PNGraph &Graph, const int &MnSvdGraph, const int &MxSvdGraph)
void SaveTxt (FILE *F) const
void SaveGViz (const TStr &OutFNm, const TStr &Desc=TStr(), const TStr &NodeAttrs="", const int &Size=-1) const
void DrawGViz (const TStr &OutFNm, const TStr &Desc=TStr(), const TStr &NodeAttrs="", const int &Size=-1) const

Static Public Member Functions

static bool IsIsomorph (const TGraphKey &Key1, const TGraphKey &Key2, const TIntV &NodeIdMap)
static bool IsIsomorph (const TGraphKey &Key1, const TGraphKey &Key2, const TVec< TIntV > &NodeIdMapV)
static bool IsIsomorph (const TGraphKey &Key1, const TGraphKey &Key2, const TVec< TIntV > &NodeIdMapV, int &IsoPermId)

Public Attributes

TInt Nodes
TIntPrV EdgeV
TFltV SigV
TInt VariantId

Static Public Attributes

static const int RoundTo = 4

Detailed Description

Graph Hash Table Key.


Constructor & Destructor Documentation

TGraphKey::TGraphKey ( ) [inline]
TGraphKey::TGraphKey ( const TSFltV GraphSigV)
TGraphKey::TGraphKey ( const TIntV GraphSigV)
TGraphKey::TGraphKey ( const TFltV GraphSigV)
TGraphKey::TGraphKey ( const TGraphKey GraphKey)

Member Function Documentation

void TGraphKey::DrawGViz ( const TStr OutFNm,
const TStr Desc = TStr(),
const TStr NodeAttrs = "",
const int &  Size = -1 
) const
int TGraphKey::GetEdges ( ) const [inline]
int TGraphKey::GetNodes ( ) const [inline]
int TGraphKey::GetPrimHashCd ( ) const [inline]
int TGraphKey::GetSecHashCd ( ) const [inline]
int TGraphKey::GetSigLen ( ) const [inline]
int TGraphKey::GetVariant ( ) const [inline]
bool TGraphKey::IsIsomorph ( const TGraphKey Key1,
const TGraphKey Key2,
const TIntV NodeIdMap 
) [static]
bool TGraphKey::IsIsomorph ( const TGraphKey Key1,
const TGraphKey Key2,
const TVec< TIntV > &  NodeIdMapV 
) [static]
bool TGraphKey::IsIsomorph ( const TGraphKey Key1,
const TGraphKey Key2,
const TVec< TIntV > &  NodeIdMapV,
int &  IsoPermId 
) [static]
TGraphKey & TGraphKey::operator= ( const TGraphKey GraphKey)
bool TGraphKey::operator== ( const TGraphKey GraphKey) const [inline]
void TGraphKey::Save ( TSOut SOut) const
void TGraphKey::SaveGViz ( const TStr OutFNm,
const TStr Desc = TStr(),
const TStr NodeAttrs = "",
const int &  Size = -1 
) const
void TGraphKey::SaveTxt ( FILE *  F) const
void TGraphKey::SetEdgeV ( const TIntPrV EdgeIdV) [inline]
void TGraphKey::SetVariant ( const int &  Variant) [inline]
void TGraphKey::TakeGraph ( const PNGraph Graph)
void TGraphKey::TakeGraph ( const PNGraph Graph,
TIntPrV NodeMap 
)
void TGraphKey::TakeSig ( const PNGraph Graph,
const int &  MnSvdGraph,
const int &  MxSvdGraph 
)

Member Data Documentation

const int TGraphKey::RoundTo = 4 [static]

The documentation for this class was generated from the following files: