SNAP Library 2.2, User Reference
2014-03-11 19:15:55
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 TNodeI &NodeI, const TNodeI &EndNodeI, const int &EdgeN=0) | |
TEdgeI (const TEdgeI &EdgeI) | |
TEdgeI & | operator= (const TEdgeI &EdgeI) |
TEdgeI & | operator++ (int) |
Increment iterator. | |
bool | operator< (const TEdgeI &EdgeI) const |
bool | operator== (const TEdgeI &EdgeI) const |
int | GetId () const |
Returns edge ID. Always returns -1 since only edges in multigraphs have explicit IDs. | |
int | GetSrcNId () const |
Returns the source node of the edge. | |
int | GetDstNId () const |
Returns the destination node of the edge. | |
Private Attributes | |
TNodeI | CurNode |
TNodeI | EndNode |
int | CurEdge |
Friends | |
class | TNGraph |
Edge iterator. Only forward iteration (operator++) is supported.
TNGraph::TEdgeI::TEdgeI | ( | ) | [inline] |
TNGraph::TEdgeI::TEdgeI | ( | const TNodeI & | NodeI, |
const TNodeI & | EndNodeI, | ||
const int & | EdgeN = 0 |
||
) | [inline] |
TNGraph::TEdgeI::TEdgeI | ( | const TEdgeI & | EdgeI | ) | [inline] |
int TNGraph::TEdgeI::GetDstNId | ( | ) | const [inline] |
int TNGraph::TEdgeI::GetId | ( | ) | const [inline] |
int TNGraph::TEdgeI::GetSrcNId | ( | ) | const [inline] |
TEdgeI& TNGraph::TEdgeI::operator++ | ( | int | ) | [inline] |
bool TNGraph::TEdgeI::operator< | ( | const TEdgeI & | EdgeI | ) | const [inline] |
bool TNGraph::TEdgeI::operator== | ( | const TEdgeI & | EdgeI | ) | const [inline] |
int TNGraph::TEdgeI::CurEdge [private] |
TNodeI TNGraph::TEdgeI::CurNode [private] |
TNodeI TNGraph::TEdgeI::EndNode [private] |