|
SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
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. More... | |
| 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. More... | |
| int | GetSrcNId () const |
| Gets the source node of an edge. More... | |
| int | GetDstNId () const |
| Gets the destination node of an edge. More... | |
| 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.
|
inline |
|
inline |
|
inline |
Definition at line 128 of file network.h.
References TNodeNet< TNodeData >::TEdgeI::CurEdge, TNodeNet< TNodeData >::TEdgeI::CurNode, and TNodeNet< TNodeData >::TNodeI::GetOutNDat().

|
inline |
Gets the destination node of an edge.
Definition at line 126 of file network.h.
References TNodeNet< TNodeData >::TEdgeI::CurEdge, TNodeNet< TNodeData >::TEdgeI::CurNode, and TNodeNet< TNodeData >::TNodeI::GetOutNId().

|
inline |
|
inline |
Definition at line 127 of file network.h.
References TNodeNet< TNodeData >::TEdgeI::CurNode, and TNodeNet< TNodeData >::TNodeI::GetDat().

|
inline |
Gets the source node of an edge.
Definition at line 124 of file network.h.
References TNodeNet< TNodeData >::TEdgeI::CurNode, and TNodeNet< TNodeData >::TNodeI::GetId().

Increment iterator.
Definition at line 117 of file network.h.
References TNodeNet< TNodeData >::TEdgeI::CurEdge, TNodeNet< TNodeData >::TEdgeI::CurNode, TNodeNet< TNodeData >::TEdgeI::EndNode, and TNodeNet< TNodeData >::TNodeI::GetOutDeg().

|
inline |
Definition at line 119 of file network.h.
References TNodeNet< TNodeData >::TEdgeI::CurEdge, and TNodeNet< TNodeData >::TEdgeI::CurNode.
|
inline |
Definition at line 115 of file network.h.
References TNodeNet< TNodeData >::TEdgeI::CurEdge, TNodeNet< TNodeData >::TEdgeI::CurNode, and TNodeNet< TNodeData >::TEdgeI::EndNode.
|
inline |
Definition at line 120 of file network.h.
References TNodeNet< TNodeData >::TEdgeI::CurEdge, and TNodeNet< TNodeData >::TEdgeI::CurNode.
|
friend |
|
private |
Definition at line 110 of file network.h.
Referenced by TNodeNet< TNodeData >::TEdgeI::GetDstNDat(), TNodeNet< TNodeData >::TEdgeI::GetDstNId(), TNodeNet< TNodeData >::TEdgeI::operator++(), TNodeNet< TNodeData >::TEdgeI::operator<(), TNodeNet< TNodeData >::TEdgeI::operator=(), and TNodeNet< TNodeData >::TEdgeI::operator==().
Definition at line 109 of file network.h.
Referenced by TNodeNet< TNodeData >::TEdgeI::GetDstNDat(), TNodeNet< TNodeData >::TEdgeI::GetDstNId(), TNodeNet< TNodeData >::TEdgeI::GetSrcNDat(), TNodeNet< TNodeData >::TEdgeI::GetSrcNId(), TNodeNet< TNodeData >::TEdgeI::operator++(), TNodeNet< TNodeData >::TEdgeI::operator<(), TNodeNet< TNodeData >::TEdgeI::operator=(), and TNodeNet< TNodeData >::TEdgeI::operator==().
Definition at line 109 of file network.h.
Referenced by TNodeNet< TNodeData >::TEdgeI::operator++(), and TNodeNet< TNodeData >::TEdgeI::operator=().