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
TNEGraph::TEdgeI Class Reference

Edge iterator. Only forward iteration (operator++) is supported. More...

List of all members.

Public Member Functions

 TEdgeI ()
 TEdgeI (const THashIter &EdgeHIter, const TNEGraph *GraphPt)
 TEdgeI (const TEdgeI &EdgeI)
TEdgeIoperator= (const TEdgeI &EdgeI)
TEdgeIoperator++ (int)
 Increment iterator.
bool operator< (const TEdgeI &EdgeI) const
bool operator== (const TEdgeI &EdgeI) const
int GetId () const
 Gets edge ID.
int GetSrcNId () const
 Gets the source of an edge.
int GetDstNId () const
 Gets destination of an edge.

Friends

class TNEGraph

Detailed Description

Edge iterator. Only forward iteration (operator++) is supported.


Constructor & Destructor Documentation

TNEGraph::TEdgeI::TEdgeI ( const THashIter &  EdgeHIter,
const TNEGraph GraphPt 
) [inline]
TNEGraph::TEdgeI::TEdgeI ( const TEdgeI EdgeI) [inline]

Member Function Documentation

int TNEGraph::TEdgeI::GetDstNId ( ) const [inline]

Gets destination of an edge.

int TNEGraph::TEdgeI::GetId ( ) const [inline]

Gets edge ID.

int TNEGraph::TEdgeI::GetSrcNId ( ) const [inline]

Gets the source of an edge.

TEdgeI& TNEGraph::TEdgeI::operator++ ( int  ) [inline]

Increment iterator.

bool TNEGraph::TEdgeI::operator< ( const TEdgeI EdgeI) const [inline]
TEdgeI& TNEGraph::TEdgeI::operator= ( const TEdgeI EdgeI) [inline]
bool TNEGraph::TEdgeI::operator== ( const TEdgeI EdgeI) const [inline]

Friends And Related Function Documentation

friend class TNEGraph [friend]

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