SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
Edge iterator. Only forward iteration (operator++) is supported. More...
Public Member Functions | |
TEdgeI () | |
TEdgeI (const THashIter &EdgeHIter, const TNEGraph *GraphPt) | |
TEdgeI (const TEdgeI &EdgeI) | |
TEdgeI & | operator= (const TEdgeI &EdgeI) |
TEdgeI & | operator++ (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 |
Edge iterator. Only forward iteration (operator++) is supported.
TNEGraph::TEdgeI::TEdgeI | ( | ) | [inline] |
TNEGraph::TEdgeI::TEdgeI | ( | const THashIter & | EdgeHIter, |
const TNEGraph * | GraphPt | ||
) | [inline] |
TNEGraph::TEdgeI::TEdgeI | ( | const TEdgeI & | EdgeI | ) | [inline] |
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] |
bool TNEGraph::TEdgeI::operator== | ( | const TEdgeI & | EdgeI | ) | const [inline] |
friend class TNEGraph [friend] |