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 <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.
References TNEANet::AttrNameEI().
|
inline |
Gets vector of attribute values.
Definition at line 1890 of file network.h.
References TNEANet::AttrValueEI().
|
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.
References TNEANet::FltAttrNameEI().
Referenced by TTable::GetEdgeTable().
|
inline |
Gets vector of flt attribute values.
Definition at line 1906 of file network.h.
References TNEANet::FltAttrValueEI().
|
inline |
Returns edge ID.
Definition at line 1882 of file network.h.
Referenced by TNEANet::AddEdge(), TNEANet::AddFltAttrDatE(), TNEANet::AddFltVAttrDatE(), TNEANet::AddIntAttrDatE(), TNEANet::AddIntVAttrDatE(), TNEANet::AddSAttrDatE(), TNEANet::AddStrAttrDatE(), TNEANet::AppendFltVAttrDatE(), TNEANet::AppendIntVAttrDatE(), TNEANet::DelAttrDatE(), TNEANet::DelSAttrDatE(), TTable::GetEdgeTable(), TNEANet::GetFltAttrDatE(), TNEANet::GetFltAttrIndDatE(), TNEANet::GetFltVAttrDatE(), 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.
References TNEANet::IntAttrNameEI().
Referenced by TTable::GetEdgeTable().
|
inline |
Gets vector of int attribute values.
Definition at line 1894 of file network.h.
References TNEANet::IntAttrValueEI().
|
inline |
Gets vector of int attribute names.
Definition at line 1896 of file network.h.
References TNEANet::IntVAttrNameEI().
Gets vector of int attribute values.
Definition at line 1898 of file network.h.
References TNEANet::IntVAttrValueEI().
|
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.
References TNEANet::StrAttrNameEI().
Referenced by TTable::GetEdgeTable().
|
inline |
Gets vector of str attribute values.
Definition at line 1902 of file network.h.
References TNEANet::StrAttrValueEI().
|
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=().