SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Edge iterator. Only forward iteration (operator++) is supported. More...
#include <networkmp.h>
Public Member Functions | |
TEdgeI () | |
TEdgeI (const THashIter &EdgeHIter, const TNEANetMP *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 |
Returns edge ID. More... | |
int | GetSrcNId () const |
Returns the source of the edge. More... | |
int | GetDstNId () const |
Returns the destination of the edge. More... | |
void | GetAttrNames (TStrV &Names) const |
Gets vector of attribute names. More... | |
void | GetAttrVal (TStrV &Val) const |
Gets vector of attribute values. More... | |
void | GetIntAttrNames (TStrV &Names) const |
Gets vector of int attribute names. More... | |
void | GetIntAttrVal (TIntV &Val) const |
Gets vector of int attribute values. More... | |
void | GetStrAttrNames (TStrV &Names) const |
Gets vector of str attribute names. More... | |
void | GetStrAttrVal (TStrV &Val) const |
Gets vector of str attribute values. More... | |
void | GetFltAttrNames (TStrV &Names) const |
Gets vector of flt attribute names. More... | |
void | GetFltAttrVal (TFltV &Val) const |
Gets vector of flt attribute values. More... | |
Private Types | |
typedef THashMP< TInt, TEdge >::TIter | THashIter |
Private Attributes | |
THashIter | EdgeHI |
const TNEANetMP * | Graph |
Friends | |
class | TNEANetMP |
Edge iterator. Only forward iteration (operator++) is supported.
Definition at line 139 of file networkmp.h.
|
private |
Definition at line 141 of file networkmp.h.
|
inline |
Definition at line 145 of file networkmp.h.
Definition at line 146 of file networkmp.h.
|
inline |
Definition at line 147 of file networkmp.h.
|
inline |
Gets vector of attribute names.
Definition at line 160 of file networkmp.h.
References TNEANetMP::AttrNameEI(), and GetId().
|
inline |
Gets vector of attribute values.
Definition at line 162 of file networkmp.h.
References TNEANetMP::AttrValueEI(), and GetId().
|
inline |
Returns the destination of the edge.
Definition at line 158 of file networkmp.h.
Referenced by TNEANetMP::AddEdge().
|
inline |
Gets vector of flt attribute names.
Definition at line 172 of file networkmp.h.
References TNEANetMP::FltAttrNameEI(), and GetId().
|
inline |
Gets vector of flt attribute values.
Definition at line 174 of file networkmp.h.
References TNEANetMP::FltAttrValueEI(), and GetId().
|
inline |
Returns edge ID.
Definition at line 154 of file networkmp.h.
Referenced by TNEANetMP::AddEdge(), TNEANetMP::AddFltAttrDatE(), TNEANetMP::AddIntAttrDatE(), TNEANetMP::AddStrAttrDatE(), TNEANetMP::DelAttrDatE(), GetAttrNames(), GetAttrVal(), TNEANetMP::GetFltAttrDatE(), GetFltAttrNames(), GetFltAttrVal(), TNEANetMP::GetIntAttrDatE(), TNEANetMP::GetIntAttrIndDatE(), GetIntAttrNames(), GetIntAttrVal(), TNEANetMP::GetStrAttrDatE(), GetStrAttrNames(), and GetStrAttrVal().
|
inline |
Gets vector of int attribute names.
Definition at line 164 of file networkmp.h.
References GetId(), and TNEANetMP::IntAttrNameEI().
|
inline |
Gets vector of int attribute values.
Definition at line 166 of file networkmp.h.
References GetId(), and TNEANetMP::IntAttrValueEI().
|
inline |
Returns the source of the edge.
Definition at line 156 of file networkmp.h.
Referenced by TNEANetMP::AddEdge().
|
inline |
Gets vector of str attribute names.
Definition at line 168 of file networkmp.h.
References GetId(), and TNEANetMP::StrAttrNameEI().
|
inline |
Gets vector of str attribute values.
Definition at line 170 of file networkmp.h.
References GetId(), and TNEANetMP::StrAttrValueEI().
|
inline |
|
inline |
Definition at line 148 of file networkmp.h.
|
inline |
|
friend |
Definition at line 175 of file networkmp.h.
|
private |
Definition at line 142 of file networkmp.h.
Referenced by operator<(), operator=(), and operator==().
|
private |
Definition at line 143 of file networkmp.h.
Referenced by operator=().