|
SNAP Library 2.4, Developer Reference
2015-05-11 19:40:56
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Node iterator. More...
#include <bignet.h>

Public Member Functions | |
| void | GetInOutNIdV () |
| int | GetInVId () const |
| int | GetOutVId () const |
| TNodeI () | |
| TNodeI (const THashIter &NodeHIter, TVPool *PoolPt) | |
| TNodeI (const TNodeI &NodeI) | |
| TNodeI & | operator= (const TNodeI &NI) |
| TNodeI & | operator++ (int) |
| Increment iterator. More... | |
| bool | operator< (const TNodeI &NI) const |
| bool | operator== (const TNodeI &NI) const |
| int | GetId () const |
| int | GetDeg () const |
| int | GetInDeg () const |
| int | GetOutDeg () const |
| int | GetInNId (const int &NodeN) const |
| int | GetOutNId (const int &NodeN) const |
| int | GetOutNbrId (const int &NodeN) const |
| bool | IsInNId (const int &NId) const |
| bool | IsOutNId (const int &NId) const |
| bool | IsNbrNId (const int &NId) const |
| const TNodeData & | operator() () const |
| TNodeData & | operator() () |
| const TNodeData & | GetDat () const |
| TNodeData & | GetDat () |
| void | Dump () const |
Protected Types | |
| typedef TNodeH::TIter | THashIter |
Protected Attributes | |
| THashIter | NodeHI |
| TVPool * | Pool |
| int | InDeg |
| int | OutDeg |
| int * | InNIdV |
| int * | OutNIdV |
Friends | |
| class | TBigNet< TNodeData, IsDir > |
Node iterator.
Only forward iteration (operator++) is supported.
|
protected |
|
inline |
|
inline |
Definition at line 62 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV().

|
inline |
Definition at line 63 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV().

| void TBigNet< TNodeData, IsDir >::TNodeI::Dump | ( | ) | const |
|
inline |
Definition at line 81 of file bignet.h.
References THashKeyDat< TKey, TDat >::Dat, and TBigNet< TNodeData, IsDir >::TNodeI::NodeHI.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::operator()().

|
inline |
Definition at line 82 of file bignet.h.
References THashKeyDat< TKey, TDat >::Dat, and TBigNet< TNodeData, IsDir >::TNodeI::NodeHI.
|
inline |
Definition at line 70 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::GetInDeg(), TBigNet< TNodeData, IsDir >::TNodeI::GetOutDeg(), TBigNet< TNodeData, IsDir >::TNodeI::InNIdV, and TBigNet< TNodeData, IsDir >::TNodeI::OutNIdV.

|
inline |
Definition at line 69 of file bignet.h.
References THashKeyDat< TKey, TDat >::Key, and TBigNet< TNodeData, IsDir >::TNodeI::NodeHI.
Referenced by TBigNet< TNodeData, IsDir >::TEdgeI::GetSrcNId(), TBigNet< TNodeData, IsDir >::IsOk(), and TBigNet< TNodeData, IsDir >::Rewire().

|
inline |
Definition at line 71 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::InDeg.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::GetDeg(), TBigNet< TNodeData, IsDir >::GetSubGraph(), TBigNet< TNodeData, IsDir >::GetSubNGraph(), TBigNet< TNodeData, IsDir >::IsOk(), and TBigNet< TNodeData, IsDir >::Rewire().

|
inline |
Definition at line 73 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::InNIdV.
Referenced by TBigNet< TNodeData, IsDir >::GetSubGraph(), TBigNet< TNodeData, IsDir >::GetSubNGraph(), and TBigNet< TNodeData, IsDir >::IsOk().

|
inline |
Definition at line 224 of file bignet.h.
References THashKeyDat< TKey, TDat >::Dat, TVecPool< TVal, TSizeTy >::GetValVPt(), TVecPool< TVal, TSizeTy >::GetVLen(), TBigNet< TNodeData, IsDir >::TNodeI::InDeg, TBigNet< TNodeData, IsDir >::TNodeI::InNIdV, TBigNet< TNodeData, IsDir >::TNode::InVId, THashKeyDatI< TKey, TDat >::IsEnd(), TVecPool< TVal, TSizeTy >::IsVId(), TBigNet< TNodeData, IsDir >::TNodeI::NodeHI, TBigNet< TNodeData, IsDir >::TNodeI::OutDeg, TBigNet< TNodeData, IsDir >::TNodeI::OutNIdV, TBigNet< TNodeData, IsDir >::TNode::OutVId, and TBigNet< TNodeData, IsDir >::TNodeI::Pool.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::operator++(), TBigNet< TNodeData, IsDir >::TNodeI::operator=(), and TBigNet< TNodeData, IsDir >::TNodeI::TNodeI().


|
inline |
Definition at line 58 of file bignet.h.
References THashKeyDat< TKey, TDat >::Dat, and TBigNet< TNodeData, IsDir >::TNodeI::NodeHI.
Referenced by TBigNet< TNodeData, IsDir >::GetSubGraph().

|
inline |
Definition at line 72 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::OutDeg.
Referenced by TBigNet< TNodeData, IsDir >::BegEI(), TBigNet< TNodeData, IsDir >::TNodeI::GetDeg(), TBigNet< TNodeData, IsDir >::GetSubGraph(), TBigNet< TNodeData, IsDir >::GetSubNGraph(), TBigNet< TNodeData, IsDir >::IsOk(), TBigNet< TNodeData, IsDir >::TEdgeI::operator++(), and TBigNet< TNodeData, IsDir >::Rewire().

|
inline |
Definition at line 75 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::InNIdV, TBigNet< TNodeData, IsDir >::TNodeI::OutDeg, and TBigNet< TNodeData, IsDir >::TNodeI::OutNIdV.
|
inline |
Definition at line 74 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::OutNIdV.
Referenced by TBigNet< TNodeData, IsDir >::TEdgeI::GetDstNId(), TBigNet< TNodeData, IsDir >::GetSubGraph(), TBigNet< TNodeData, IsDir >::GetSubNGraph(), TBigNet< TNodeData, IsDir >::IsOk(), and TBigNet< TNodeData, IsDir >::Rewire().

|
inline |
Definition at line 59 of file bignet.h.
References THashKeyDat< TKey, TDat >::Dat, and TBigNet< TNodeData, IsDir >::TNodeI::NodeHI.
Referenced by TBigNet< TNodeData, IsDir >::GetSubGraph().

|
inline |
Definition at line 76 of file bignet.h.
References TBigNet< TNodeData, IsDir >::BinSearch(), TBigNet< TNodeData, IsDir >::TNodeI::InDeg, and TBigNet< TNodeData, IsDir >::TNodeI::InNIdV.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::IsNbrNId(), and TBigNet< TNodeData, IsDir >::Rewire().


|
inline |
Definition at line 78 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::IsInNId(), and TBigNet< TNodeData, IsDir >::TNodeI::IsOutNId().

|
inline |
Definition at line 77 of file bignet.h.
References TBigNet< TNodeData, IsDir >::BinSearch(), TBigNet< TNodeData, IsDir >::TNodeI::OutDeg, and TBigNet< TNodeData, IsDir >::TNodeI::OutNIdV.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::IsNbrNId().


|
inline |
Definition at line 79 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::GetDat().

|
inline |
Definition at line 80 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::GetDat().

|
inline |
Increment iterator.
Definition at line 66 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), and TBigNet< TNodeData, IsDir >::TNodeI::NodeHI.

|
inline |
|
inline |
Definition at line 64 of file bignet.h.
References TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), TBigNet< TNodeData, IsDir >::TNodeI::NodeHI, and TBigNet< TNodeData, IsDir >::TNodeI::Pool.

|
inline |
|
friend |
|
protected |
Definition at line 55 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::GetInDeg(), TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), and TBigNet< TNodeData, IsDir >::TNodeI::IsInNId().
|
protected |
Definition at line 55 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::GetDeg(), TBigNet< TNodeData, IsDir >::TNodeI::GetInNId(), TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), TBigNet< TNodeData, IsDir >::TNodeI::GetOutNbrId(), TBigNet< TNodeData, IsDir >::TNodeI::IsInNId(), and TBigNet< TNodeData, IsDir >::Rewire().
|
protected |
Definition at line 53 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::GetDat(), TBigNet< TNodeData, IsDir >::TNodeI::GetId(), TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), TBigNet< TNodeData, IsDir >::TNodeI::GetInVId(), TBigNet< TNodeData, IsDir >::TNodeI::GetOutVId(), TBigNet< TNodeData, IsDir >::TNodeI::operator++(), TBigNet< TNodeData, IsDir >::TNodeI::operator<(), TBigNet< TNodeData, IsDir >::TNodeI::operator=(), and TBigNet< TNodeData, IsDir >::TNodeI::operator==().
|
protected |
Definition at line 55 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), TBigNet< TNodeData, IsDir >::TNodeI::GetOutDeg(), TBigNet< TNodeData, IsDir >::TNodeI::GetOutNbrId(), and TBigNet< TNodeData, IsDir >::TNodeI::IsOutNId().
|
protected |
Definition at line 55 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::GetDeg(), TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), TBigNet< TNodeData, IsDir >::TNodeI::GetOutNbrId(), TBigNet< TNodeData, IsDir >::TNodeI::GetOutNId(), TBigNet< TNodeData, IsDir >::TNodeI::IsOutNId(), and TBigNet< TNodeData, IsDir >::Rewire().
Definition at line 54 of file bignet.h.
Referenced by TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV(), and TBigNet< TNodeData, IsDir >::TNodeI::operator=().