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 THashIter &EdgeHIter, const TNodeEdgeNet *NetPt) | |
TEdgeI (const TEdgeI &EdgeI) | |
TEdgeI & | operator= (const TEdgeI &EdgeI) |
TEdgeI & | operator++ (int) |
bool | operator< (const TEdgeI &EdgeI) const |
bool | operator== (const TEdgeI &EdgeI) const |
int | GetId () const |
Gets edge ID. More... | |
int | GetSrcNId () const |
Gets the source of an edge. More... | |
int | GetDstNId () const |
Gets destination of an edge. More... | |
const TEdgeData & | operator() () const |
TEdgeData & | operator() () |
const TEdgeData & | GetDat () const |
TEdgeData & | GetDat () |
const TNodeData & | GetSrcNDat () const |
TNodeData & | GetSrcNDat () |
const TNodeData & | GetDstNDat () const |
TNodeData & | GetDstNDat () |
Private Types | |
typedef THash< TInt, TEdge >::TIter | THashIter |
Private Attributes | |
THashIter | EdgeHI |
TNodeEdgeNet * | Net |
Friends | |
class | TNodeEdgeNet |
Edge iterator. Only forward iteration (operator++) is supported.
|
private |
|
inline |
|
inline |
Definition at line 1226 of file network.h.
|
inline |
|
inline |
Definition at line 1240 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::SetEDat().
|
inline |
Definition at line 1241 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
|
inline |
Definition at line 1244 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDstNId(), TNodeEdgeNet< TNodeData, TEdgeData >::GetNDat(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::Net.
|
inline |
Definition at line 1245 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDstNId(), TNodeEdgeNet< TNodeData, TEdgeData >::GetNDat(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::Net.
|
inline |
Gets destination of an edge.
Definition at line 1237 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDstNDat().
|
inline |
Gets edge ID.
Definition at line 1233 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
|
inline |
Definition at line 1242 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::GetNDat(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNId(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::Net.
|
inline |
Definition at line 1243 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::GetNDat(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNId(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::Net.
|
inline |
Gets the source of an edge.
Definition at line 1235 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNDat().
|
inline |
Definition at line 1238 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
|
inline |
Definition at line 1239 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
|
inline |
Definition at line 1229 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
|
inline |
Definition at line 1230 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
|
inline |
Definition at line 1228 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI, and TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::Net.
|
inline |
Definition at line 1231 of file network.h.
References TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI.
|
friend |
|
private |
Definition at line 1222 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDat(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDstNId(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetId(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNId(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator()(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator++(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator<(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator=(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator==().
|
private |
Definition at line 1223 of file network.h.
Referenced by TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDstNDat(), TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNDat(), and TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator=().