SNAP Library 4.1, User Reference
2018-07-26 16:30:42
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 134 of file network.h.
|
inline |
Gets the destination node of an edge.
Definition at line 132 of file network.h.
|
inline |
|
inline |
|
inline |
Increment iterator.
Definition at line 123 of file network.h.
|
inline |
|
inline |
|
inline |
|
friend |
|
private |