SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
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... | |
TEdgeData & | operator() () |
const TEdgeData & | operator() () const |
TEdgeData & | GetDat () |
const TEdgeData & | GetDat () const |
TNodeData & | GetSrcNDat () |
const TNodeData & | GetSrcNDat () const |
TNodeData & | GetDstNDat () |
const TNodeData & | GetDstNDat () const |
Private Attributes | |
TNodeI | CurNode |
TNodeI | EndNode |
int | CurEdge |
Friends | |
class | TNodeEDatNet< TNodeData, TEdgeData > |
Edge iterator. Only forward iteration (operator++) is supported.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 622 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetOutEDat().
|
inline |
Definition at line 623 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetOutEDat().
|
inline |
Definition at line 626 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetOutNDat().
|
inline |
Definition at line 627 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetOutNDat().
|
inline |
Gets the destination node of an edge.
Definition at line 619 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetOutNId().
|
inline |
|
inline |
Definition at line 624 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode.
|
inline |
Definition at line 625 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode.
|
inline |
Gets the source node of an edge.
Definition at line 617 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetId().
|
inline |
Definition at line 620 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetOutEDat().
|
inline |
Definition at line 621 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetOutEDat().
|
inline |
Increment iterator.
Definition at line 610 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::EndNode, and TNodeEDatNet< TNodeData, TEdgeData >::TNodeI::GetOutDeg().
|
inline |
Definition at line 612 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, and TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode.
|
inline |
Definition at line 608 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode, and TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::EndNode.
|
inline |
Definition at line 613 of file network.h.
References TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurEdge, and TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::CurNode.
|
friend |
|
private |
Definition at line 603 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::GetDat(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::GetDstNDat(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::GetDstNId(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator()(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator++(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator<(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator=(), and TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator==().
|
private |
Definition at line 602 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::GetDat(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::GetDstNDat(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::GetDstNId(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNDat(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNId(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator()(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator++(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator<(), TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator=(), and TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator==().
|
private |
Definition at line 602 of file network.h.
Referenced by TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator++(), and TNodeEDatNet< TNodeData, TEdgeData >::TEdgeI::operator=().