SNAP Library 3.0, User Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Edge iterator. Only forward iteration (operator++) is supported. More...
#include <mmnet.h>
Public Member Functions | |
TCrossEdgeI () | |
TCrossEdgeI (const THashIter &CrossHIter, const TCrossNet *GraphPt) | |
TCrossEdgeI (const TCrossEdgeI &EdgeI) | |
TCrossEdgeI & | operator= (const TCrossEdgeI &EdgeI) |
TCrossEdgeI & | operator++ (int) |
Increment iterator. More... | |
bool | operator< (const TCrossEdgeI &EdgeI) const |
bool | operator== (const TCrossEdgeI &EdgeI) const |
int | GetId () const |
Returns edge ID. More... | |
int | GetSrcNId () const |
Returns the source of the edge. More... | |
int | GetDstNId () const |
Returns the destination of the edge. More... | |
int | GetSrcModeId () const |
Returns the source mode of the crossnet. More... | |
int | GetDstModeId () const |
Returns the destination mode of the crossnet. More... | |
bool | IsDirected () const |
Returns whether the edge is directed. More... | |
Private Types | |
typedef THash< TInt, TCrossEdge >::TIter | THashIter |
Private Attributes | |
THashIter | CrossHI |
const TCrossNet * | Graph |
Friends | |
class | TCrossNet |
Edge iterator. Only forward iteration (operator++) is supported.
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns whether the edge is directed.
Definition at line 174 of file mmnet.h.
|
inline |
|
inline |
|
inline |
|
inline |