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 <network.h>
Public Member Functions | |
TEdgeI () | |
TEdgeI (const THashIter &EdgeHIter, const TNEANet *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 | GetIntVAttrNames (TStrV &Names) const |
Gets vector of int attribute names. More... | |
void | GetIntVAttrVal (TVec< 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 THash< TInt, TEdge >::TIter | THashIter |
Private Attributes | |
THashIter | EdgeHI |
const TNEANet * | Graph |
Friends | |
class | TNEANet |
Edge iterator. Only forward iteration (operator++) is supported.
|
private |
|
inline |
Gets vector of attribute names.
Definition at line 1888 of file network.h.
|
inline |
Gets vector of attribute values.
Definition at line 1890 of file network.h.
|
inline |
Returns the destination of the edge.
Definition at line 1886 of file network.h.
Referenced by TNEANet::AddEdge(), TSnap::FindAugV(), TTable::GetEdgeTable(), and TSnap::GetMaxFlowIntEK().
|
inline |
Gets vector of flt attribute names.
Definition at line 1904 of file network.h.
Referenced by TTable::GetEdgeTable().
|
inline |
Gets vector of flt attribute values.
Definition at line 1906 of file network.h.
|
inline |
Returns edge ID.
Definition at line 1882 of file network.h.
Referenced by TNEANet::AddEdge(), TNEANet::AddFltAttrDatE(), TNEANet::AddIntAttrDatE(), TNEANet::AddIntVAttrDatE(), TNEANet::AddSAttrDatE(), TNEANet::AddStrAttrDatE(), TNEANet::AppendIntVAttrDatE(), TNEANet::DelAttrDatE(), TNEANet::DelSAttrDatE(), TTable::GetEdgeTable(), TNEANet::GetFltAttrDatE(), TNEANet::GetFltAttrIndDatE(), TNEANet::GetIntAttrDatE(), TNEANet::GetIntAttrIndDatE(), TNEANet::GetIntVAttrDatE(), TNEANet::GetSAttrDatE(), TNEANet::GetSAttrVE(), TNEANet::GetStrAttrDatE(), and TNEANet::GetStrAttrIndDatE().
|
inline |
Gets vector of int attribute names.
Definition at line 1892 of file network.h.
Referenced by TTable::GetEdgeTable().
|
inline |
Gets vector of int attribute values.
Definition at line 1894 of file network.h.
|
inline |
Gets vector of int attribute names.
Definition at line 1896 of file network.h.
Gets vector of int attribute values.
Definition at line 1898 of file network.h.
|
inline |
Returns the source of the edge.
Definition at line 1884 of file network.h.
Referenced by TNEANet::AddEdge(), TSnap::FindAugV(), TTable::GetEdgeTable(), and TSnap::GetMaxFlowIntEK().
|
inline |
Gets vector of str attribute names.
Definition at line 1900 of file network.h.
Referenced by TTable::GetEdgeTable().
|
inline |
Gets vector of str attribute values.
Definition at line 1902 of file network.h.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 1870 of file network.h.
Referenced by operator<(), operator=(), and operator==().
|
private |
Definition at line 1871 of file network.h.
Referenced by operator=().