| 
    SNAP Library 2.3, Developer Reference
    2014-06-16 11:58:46
    
   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.  More... | |
| 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.  More... | |
| int | GetSrcNId () const | 
| Returns the source of the edge. Since the graph is undirected, this is the node with a smaller ID of the edge endpoints.  More... | |
| int | GetDstNId () const | 
| Returns the destination of the edge. Since the graph is undirected, this is the node with a greater ID of the edge endpoints.  More... | |
Private Attributes | |
| TNodeI | CurNode | 
| TNodeI | EndNode | 
| int | CurEdge | 
Friends | |
| class | TUNGraph | 
Edge iterator. Only forward iteration (operator++) is supported.
      
  | 
  inline | 
      
  | 
  inline | 
Returns the destination of the edge. Since the graph is undirected, this is the node with a greater ID of the edge endpoints.
Definition at line 129 of file graph.h.
References CurEdge, CurNode, and TUNGraph::TNodeI::GetOutNId().
Referenced by TUNGraph::AddEdge(), and operator++().


      
  | 
  inline | 
      
  | 
  inline | 
Returns the source of the edge. Since the graph is undirected, this is the node with a smaller ID of the edge endpoints.
Definition at line 127 of file graph.h.
References CurNode, and TUNGraph::TNodeI::GetId().
Referenced by TUNGraph::AddEdge(), and operator++().


      
  | 
  inline | 
Increment iterator.
Definition at line 121 of file graph.h.
References CurEdge, CurNode, EndNode, GetDstNId(), TUNGraph::TNodeI::GetOutDeg(), and GetSrcNId().

      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  private | 
Definition at line 114 of file graph.h.
Referenced by GetDstNId(), operator++(), operator<(), operator=(), and operator==().
      
  | 
  private | 
Definition at line 113 of file graph.h.
Referenced by GetDstNId(), GetSrcNId(), operator++(), operator<(), operator=(), and operator==().
      
  | 
  private | 
Definition at line 113 of file graph.h.
Referenced by operator++(), and operator=().