SNAP Library 2.1, User Reference
2013-09-25 10:47:25
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Edge iterator. Only forward iteration (operator++) is supported. More...
#include <network.h>
Public Member Functions | |
TEdgeI () | |
TEdgeI (const TNodeI &NodeI, const TNodeI &EndNodeI, const int &EdgeN=0) | |
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. Always returns -1 since only edges in multigraphs have explicit IDs. | |
int | GetSrcNId () const |
Gets the source node of an edge. | |
int | GetDstNId () const |
Gets the destination node of an edge. | |
const TNodeData & | GetSrcNDat () const |
TNodeData & | GetDstNDat () |
Private Attributes | |
TNodeI | CurNode |
TNodeI | EndNode |
int | CurEdge |
Friends | |
class | TNodeNet< TNodeData > |
Edge iterator. Only forward iteration (operator++) is supported.
TNodeNet< TNodeData >::TEdgeI::TEdgeI | ( | ) | [inline] |
TNodeNet< TNodeData >::TEdgeI::TEdgeI | ( | const TNodeI & | NodeI, |
const TNodeI & | EndNodeI, | ||
const int & | EdgeN = 0 |
||
) | [inline] |
TNodeNet< TNodeData >::TEdgeI::TEdgeI | ( | const TEdgeI & | EdgeI | ) | [inline] |
TNodeData& TNodeNet< TNodeData >::TEdgeI::GetDstNDat | ( | ) | [inline] |
Definition at line 125 of file network.h.
{ return CurNode.GetOutNDat(CurEdge); }
int TNodeNet< TNodeData >::TEdgeI::GetDstNId | ( | ) | const [inline] |
int TNodeNet< TNodeData >::TEdgeI::GetId | ( | ) | const [inline] |
const TNodeData& TNodeNet< TNodeData >::TEdgeI::GetSrcNDat | ( | ) | const [inline] |
int TNodeNet< TNodeData >::TEdgeI::GetSrcNId | ( | ) | const [inline] |
friend class TNodeNet< TNodeData > [friend] |
int TNodeNet< TNodeData >::TEdgeI::CurEdge [private] |
TNodeI TNodeNet< TNodeData >::TEdgeI::CurNode [private] |
TNodeI TNodeNet< TNodeData >::TEdgeI::EndNode [private] |