SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
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 () |
Private Attributes | |
TInt | Id |
TIntV | InNIdV |
TIntV | OutNIdV |
Friends | |
class | TNGraph |
class | TNGraphMtx |
|
inline |
Definition at line 323 of file graph.h.
References GetInDeg(), and GetOutDeg().
|
inline |
Definition at line 322 of file graph.h.
References Id.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), and TNGraph::IsOk().
|
inline |
Definition at line 324 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 326 of file graph.h.
References InNIdV.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetNbrNId(), and TNGraph::IsOk().
|
inline |
Definition at line 328 of file graph.h.
References GetInNId(), GetOutDeg(), and GetOutNId().
|
inline |
Definition at line 325 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 327 of file graph.h.
References OutNIdV.
Referenced by TNGraph::DelNode(), TNGraph::Dump(), GetNbrNId(), and TNGraph::IsOk().
|
inline |
Definition at line 329 of file graph.h.
References InNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by IsNbrNId().
|
inline |
Definition at line 331 of file graph.h.
References IsInNId(), and IsOutNId().
|
inline |
Definition at line 330 of file graph.h.
References OutNIdV, and TVec< TVal, TSizeTy >::SearchBin().
Referenced by TNGraph::IsEdge(), and IsNbrNId().
|
inline |
Definition at line 333 of file graph.h.
References InNIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 332 of file graph.h.
References OutNIdV, and TVec< TVal, TSizeTy >::Pack().
|
inline |
Definition at line 321 of file graph.h.
References Id, InNIdV, OutNIdV, TVec< TVal, TSizeTy >::Save(), and TInt::Save().
|
inline |
Definition at line 334 of file graph.h.
References InNIdV, OutNIdV, and TVec< TVal, TSizeTy >::Sort().
|
friend |
|
private |
Definition at line 314 of file graph.h.
Referenced by TNGraph::AddNode(), GetId(), and Save().
|
private |
Definition at line 315 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(), PackNIdV(), TNGraph::ReserveNIdInDeg(), Save(), and SortNIdV().
|
private |
Definition at line 315 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(), PackOutNIdV(), TNGraph::ReserveNIdOutDeg(), Save(), and SortNIdV().