|
SNAP Library 2.1, User Reference
2013-09-25 10:47:25
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. | |
| bool | operator< (const TEdgeI &EdgeI) const |
| bool | operator== (const TEdgeI &EdgeI) const |
| int | GetId () const |
| Gets edge ID. | |
| int | GetSrcNId () const |
| Gets the source of an edge. | |
| int | GetDstNId () const |
| Gets destination of an edge. | |
| void | GetAttrNames (TStrV &Names) const |
| Gets vector of attribute names. | |
| void | GetAttrVal (TStrV &Val) const |
| Gets vector of attribute values. | |
| void | GetIntAttrNames (TStrV &Names) const |
| Gets vector of int attribute names. | |
| void | GetIntAttrVal (TIntV &Val) const |
| Gets vector of int attribute values. | |
| void | GetStrAttrNames (TStrV &Names) const |
| Gets vector of str attribute names. | |
| void | GetStrAttrVal (TStrV &Val) const |
| Gets vector of str attribute values. | |
| void | GetFltAttrNames (TStrV &Names) const |
| Gets vector of flt attribute names. | |
| void | GetFltAttrVal (TFltV &Val) const |
| Gets vector of flt attribute values. | |
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.
typedef THash<TInt, TEdge>::TIter TNEANet::TEdgeI::THashIter [private] |
| TNEANet::TEdgeI::TEdgeI | ( | ) | [inline] |
| TNEANet::TEdgeI::TEdgeI | ( | const THashIter & | EdgeHIter, |
| const TNEANet * | GraphPt | ||
| ) | [inline] |
| TNEANet::TEdgeI::TEdgeI | ( | const TEdgeI & | EdgeI | ) | [inline] |
| void TNEANet::TEdgeI::GetAttrNames | ( | TStrV & | Names | ) | const [inline] |
Gets vector of attribute names.
Definition at line 1708 of file network.h.
{ Graph->AttrNameEI(GetId(), Names); }
| void TNEANet::TEdgeI::GetAttrVal | ( | TStrV & | Val | ) | const [inline] |
Gets vector of attribute values.
Definition at line 1710 of file network.h.
{ Graph->AttrValueEI(GetId(), Val); }
| int TNEANet::TEdgeI::GetDstNId | ( | ) | const [inline] |
| void TNEANet::TEdgeI::GetFltAttrNames | ( | TStrV & | Names | ) | const [inline] |
Gets vector of flt attribute names.
Definition at line 1720 of file network.h.
{ Graph->FltAttrNameEI(GetId(), Names); }
| void TNEANet::TEdgeI::GetFltAttrVal | ( | TFltV & | Val | ) | const [inline] |
Gets vector of flt attribute values.
Definition at line 1722 of file network.h.
{ Graph->FltAttrValueEI(GetId(), Val); }
| int TNEANet::TEdgeI::GetId | ( | ) | const [inline] |
| void TNEANet::TEdgeI::GetIntAttrNames | ( | TStrV & | Names | ) | const [inline] |
Gets vector of int attribute names.
Definition at line 1712 of file network.h.
{ Graph->IntAttrNameEI(GetId(), Names); }
| void TNEANet::TEdgeI::GetIntAttrVal | ( | TIntV & | Val | ) | const [inline] |
Gets vector of int attribute values.
Definition at line 1714 of file network.h.
{ Graph->IntAttrValueEI(GetId(), Val); }
| int TNEANet::TEdgeI::GetSrcNId | ( | ) | const [inline] |
| void TNEANet::TEdgeI::GetStrAttrNames | ( | TStrV & | Names | ) | const [inline] |
Gets vector of str attribute names.
Definition at line 1716 of file network.h.
{ Graph->StrAttrNameEI(GetId(), Names); }
| void TNEANet::TEdgeI::GetStrAttrVal | ( | TStrV & | Val | ) | const [inline] |
Gets vector of str attribute values.
Definition at line 1718 of file network.h.
{ Graph->StrAttrValueEI(GetId(), Val); }
| TEdgeI& TNEANet::TEdgeI::operator++ | ( | int | ) | [inline] |
| bool TNEANet::TEdgeI::operator< | ( | const TEdgeI & | EdgeI | ) | const [inline] |
| bool TNEANet::TEdgeI::operator== | ( | const TEdgeI & | EdgeI | ) | const [inline] |
THashIter TNEANet::TEdgeI::EdgeHI [private] |
const TNEANet* TNEANet::TEdgeI::Graph [private] |