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
TSimpleGraph Class Reference

List of all members.

Public Member Functions

 TSimpleGraph ()
 TSimpleGraph (const TIntPrV &GEdgeV)
bool operator== (const TSimpleGraph &Graph) const
bool operator< (const TSimpleGraph &Graph) const
int GetEdges () const
void AddEdge (const int &SrcNId, const int &DstNId)
bool Join (const TSimpleGraph &G1, const TSimpleGraph &G2)
TIntPrV & GetEdgeV ()
TIntPrV & operator() ()
void Dump (const TStr &Desc=TStr()) const

Detailed Description

Simple directed/undirected graph defined by its edges.


Constructor & Destructor Documentation

TSimpleGraph::TSimpleGraph ( const TIntPrV &  GEdgeV) [inline]

Member Function Documentation

void TSimpleGraph::AddEdge ( const int &  SrcNId,
const int &  DstNId 
) [inline]
void TSimpleGraph::Dump ( const TStr &  Desc = TStr()) const
int TSimpleGraph::GetEdges ( ) const [inline]
bool TSimpleGraph::Join ( const TSimpleGraph &  G1,
const TSimpleGraph &  G2 
)
TIntPrV& TSimpleGraph::operator() ( ) [inline]
bool TSimpleGraph::operator< ( const TSimpleGraph &  Graph) const [inline]
bool TSimpleGraph::operator== ( const TSimpleGraph &  Graph) const [inline]

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