SNAP Library , User Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <cncom.h>
Public Member Functions | |
TArtPointVisitor () | |
TArtPointVisitor (const int &Nodes) | |
void | DiscoverNode (int NId) |
void | FinishNode (const int &NId) |
void | ExamineEdge (const int &NId1, const int &NId2) |
void | TreeEdge (const int &NId1, const int &NId2) |
void | BackEdge (const int &NId1, const int &NId2) |
void | FwdEdge (const int &NId1, const int &NId2) |
Public Attributes | |
THash< TInt, TIntPr > | VnLowH |
THash< TInt, TInt > | ParentH |
TIntSet | ArtSet |
TInt | Time |
TArtPointVisitor::TArtPointVisitor | ( | ) | [inline] |
TArtPointVisitor::TArtPointVisitor | ( | const int & | Nodes | ) | [inline] |
void TArtPointVisitor::BackEdge | ( | const int & | NId1, |
const int & | NId2 | ||
) | [inline] |
void TArtPointVisitor::DiscoverNode | ( | int | NId | ) | [inline] |
void TArtPointVisitor::ExamineEdge | ( | const int & | NId1, |
const int & | NId2 | ||
) | [inline] |
void TArtPointVisitor::FinishNode | ( | const int & | NId | ) | [inline] |
Definition at line 162 of file cncom.h.
{ if (! ParentH.IsKey(NId)) { return; } const int Prn = ParentH.GetDat(NId); VnLowH.GetDat(Prn).Val2 = TMath::Mn(VnLowH.GetDat(Prn).Val2, VnLowH.GetDat(NId).Val2); if (VnLowH.GetDat(Prn).Val1==1 && VnLowH.GetDat(NId).Val1!=2) { ArtSet.AddKey(Prn); } if (VnLowH.GetDat(Prn).Val1!=1 && VnLowH.GetDat(NId).Val2>=VnLowH.GetDat(Prn).Val1) { ArtSet.AddKey(Prn); } }
void TArtPointVisitor::FwdEdge | ( | const int & | NId1, |
const int & | NId2 | ||
) | [inline] |
void TArtPointVisitor::TreeEdge | ( | const int & | NId1, |
const int & | NId2 | ||
) | [inline] |