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 <graph.h>
Public Member Functions | |
TEdgeI () | |
TEdgeI (const THashIter &EdgeHIter, const TNEGraph *GraphPt) | |
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. More... | |
int | GetSrcNId () const |
Gets the source of an edge. More... | |
int | GetDstNId () const |
Gets destination of an edge. More... | |
Private Types | |
typedef THash< TInt, TEdge >::TIter | THashIter |
Private Attributes | |
THashIter | EdgeHI |
const TNEGraph * | Graph |
Friends | |
class | TNEGraph |
Edge iterator. Only forward iteration (operator++) is supported.
|
private |
|
inline |
Gets destination of an edge.
Definition at line 777 of file graph.h.
References EdgeHI.
Referenced by TNEGraph::AddEdge().
|
inline |
Gets edge ID.
Definition at line 773 of file graph.h.
References EdgeHI.
Referenced by TNEGraph::AddEdge().
|
inline |
Gets the source of an edge.
Definition at line 775 of file graph.h.
References EdgeHI.
Referenced by TNEGraph::AddEdge().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 761 of file graph.h.
Referenced by GetDstNId(), GetId(), GetSrcNId(), operator++(), operator<(), operator=(), and operator==().
|
private |
Definition at line 762 of file graph.h.
Referenced by operator=().