SNAP Library 4.1, Developer Reference
2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <graph.h>
Public Member Functions | |
TNode () | |
TNode (const int &NId) | |
TNode (const TNode &Node) | |
TNode (TSIn &SIn) | |
void | Save (TSOut &SOut) 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 | GetNbrNId (const int &NodeN) const |
bool | IsInNId (const int &NId) const |
bool | IsOutNId (const int &NId) const |
bool | IsNbrNId (const int &NId) const |
void | PackOutNIdV () |
void | PackNIdV () |
void | SortNIdV () |
void | LoadShM (TShMIn &ShMIn) |
Private Attributes | |
TInt | Id |
TIntV | InNIdV |
TIntV | OutNIdV |
Friends | |
class | TNGraph |
class | TNGraphMtx |
|
inline |
Definition at line 358 of file graph.h.
References GetInDeg(), and GetOutDeg().
|
inline |
Definition at line 357 of file graph.h.
References Id.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), and TNGraph::IsOk().
|
inline |
Definition at line 359 of file graph.h.
References InNIdV, and TVec< TVal, TSizeTy >::Len().
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetDeg(), and TNGraph::IsOk().
|
inline |
Definition at line 361 of file graph.h.
References InNIdV.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetNbrNId(), and TNGraph::IsOk().
|
inline |
Definition at line 363 of file graph.h.
References GetInNId(), GetOutDeg(), and GetOutNId().
|
inline |
Definition at line 360 of file graph.h.
References TVec< TVal, TSizeTy >::Len(), and OutNIdV.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetDeg(), GetNbrNId(), and TNGraph::IsOk().
|
inline |
Definition at line 362 of file graph.h.
References OutNIdV.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetNbrNId(), and TNGraph::IsOk().
|
inline |
Definition at line 364 of file graph.h.
References InNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by IsNbrNId().
|
inline |
Definition at line 366 of file graph.h.
References IsInNId(), and IsOutNId().
|
inline |
Definition at line 365 of file graph.h.
References OutNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNGraph::IsEdge(), and IsNbrNId().
|
inline |
Definition at line 370 of file graph.h.
References Id, InNIdV, TVec< TVal, TSizeTy >::LoadShM(), and OutNIdV.
Referenced by TNGraph::TLoadTNodeInitializer::operator()().
|
inline |
Definition at line 368 of file graph.h.
References InNIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 367 of file graph.h.
References OutNIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 356 of file graph.h.
References Id, InNIdV, OutNIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
inline |
Definition at line 369 of file graph.h.
References InNIdV, OutNIdV, and TVec< TVal, TSizeTy >::Sort().
|
friend |
|
private |
|
private |
Definition at line 350 of file graph.h.
Referenced by TNGraph::AddEdge(), TNGraph::AddEdge2(), TNGraph::AddEdgeUnchecked(), TNGraph::AddNode(), TNGraph::Defrag(), TNGraph::DelEdge(), TNGraph::DelNode(), GetInDeg(), GetInNId(), IsInNId(), TNGraph::IsOk(), LoadShM(), PackNIdV(), TNGraph::ReserveNIdInDeg(), Save(), and SortNIdV().
|
private |
Definition at line 350 of file graph.h.
Referenced by TNGraph::AddEdge(), TNGraph::AddEdge2(), TNGraph::AddEdgeUnchecked(), TNGraph::AddNode(), TNGraph::Defrag(), TNGraph::DelEdge(), TNGraph::DelNode(), GetOutDeg(), GetOutNId(), TNGraph::IsOk(), IsOutNId(), LoadShM(), PackOutNIdV(), TNGraph::ReserveNIdOutDeg(), Save(), and SortNIdV().