|
SNAP Library 2.0, User Reference
2013-05-13 16:33:57
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. | |
| 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.
typedef TNodeH::TIter TBigNet< TNodeData, IsDir >::TNodeI::THashIter [protected] |
| TBigNet< TNodeData, IsDir >::TNodeI::TNodeI | ( | ) | [inline] |
| TBigNet< TNodeData, IsDir >::TNodeI::TNodeI | ( | const THashIter & | NodeHIter, |
| TVPool * | PoolPt | ||
| ) | [inline] |
Definition at line 62 of file bignet.h.
: NodeHI(NodeHIter), Pool(PoolPt) { GetInOutNIdV(); }
| TBigNet< TNodeData, IsDir >::TNodeI::TNodeI | ( | const TNodeI & | NodeI | ) | [inline] |
Definition at line 63 of file bignet.h.
: NodeHI(NodeI.NodeHI), Pool(NodeI.Pool) { GetInOutNIdV(); }
| void TBigNet< TNodeData, IsDir >::TNodeI::Dump | ( | ) | const |
| const TNodeData& TBigNet< TNodeData, IsDir >::TNodeI::GetDat | ( | ) | const [inline] |
| TNodeData& TBigNet< TNodeData, IsDir >::TNodeI::GetDat | ( | ) | [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetDeg | ( | ) | const [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetId | ( | ) | const [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetInDeg | ( | ) | const [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetInNId | ( | const int & | NodeN | ) | const [inline] |
| void TBigNet< TNodeData, IsDir >::TNodeI::GetInOutNIdV | ( | ) | [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetInVId | ( | ) | const [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetOutDeg | ( | ) | const [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetOutNbrId | ( | const int & | NodeN | ) | const [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetOutNId | ( | const int & | NodeN | ) | const [inline] |
| int TBigNet< TNodeData, IsDir >::TNodeI::GetOutVId | ( | ) | const [inline] |
| bool TBigNet< TNodeData, IsDir >::TNodeI::IsInNId | ( | const int & | NId | ) | const [inline] |
| bool TBigNet< TNodeData, IsDir >::TNodeI::IsNbrNId | ( | const int & | NId | ) | const [inline] |
| bool TBigNet< TNodeData, IsDir >::TNodeI::IsOutNId | ( | const int & | NId | ) | const [inline] |
| const TNodeData& TBigNet< TNodeData, IsDir >::TNodeI::operator() | ( | ) | const [inline] |
| TNodeData& TBigNet< TNodeData, IsDir >::TNodeI::operator() | ( | ) | [inline] |
| TNodeI& TBigNet< TNodeData, IsDir >::TNodeI::operator++ | ( | int | ) | [inline] |
Increment iterator.
Definition at line 66 of file bignet.h.
{ NodeHI++; GetInOutNIdV(); return *this; }
| TNodeI& TBigNet< TNodeData, IsDir >::TNodeI::operator= | ( | const TNodeI & | NI | ) | [inline] |
Definition at line 64 of file bignet.h.
{ NodeHI=NI.NodeHI; Pool=NI.Pool; GetInOutNIdV(); return *this; }
friend class TBigNet< TNodeData, IsDir > [friend] |
int TBigNet< TNodeData, IsDir >::TNodeI::InDeg [protected] |
int * TBigNet< TNodeData, IsDir >::TNodeI::InNIdV [protected] |
THashIter TBigNet< TNodeData, IsDir >::TNodeI::NodeHI [protected] |
int TBigNet< TNodeData, IsDir >::TNodeI::OutDeg [protected] |
int * TBigNet< TNodeData, IsDir >::TNodeI::OutNIdV [protected] |
TVPool* TBigNet< TNodeData, IsDir >::TNodeI::Pool [protected] |