SNAP Library 3.0, User Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <triad.h>
Public Member Functions | |
TNetConstraint (const PGraph &GraphPt, const bool &CalcaAll=true) | |
int | Len () const |
double | GetC (const int &ConstraintN) const |
TIntPr | GetNodePr (const int &ConstraintN) const |
double | GetEdgeC (const int &NId1, const int &NId2) const |
double | GetNodeC (const int &NId) const |
void | AddConstraint (const int &NId1, const int &NId2) |
void | CalcConstraints () |
void | CalcConstraints (const int &NId) |
void | Dump () const |
Static Public Member Functions | |
static void | Test () |
Public Attributes | |
PGraph | Graph |
THash< TIntPr, TFlt > | NodePrCH |
TNetConstraint< PGraph >::TNetConstraint | ( | const PGraph & | GraphPt, |
const bool & | CalcaAll = true |
||
) |
Definition at line 888 of file triad.h.
void TNetConstraint< PGraph >::AddConstraint | ( | const int & | NId1, |
const int & | NId2 | ||
) |
void TNetConstraint< PGraph >::CalcConstraints | ( | ) |
Definition at line 948 of file triad.h.
void TNetConstraint< PGraph >::CalcConstraints | ( | const int & | NId | ) |
Definition at line 969 of file triad.h.
void TNetConstraint< PGraph >::Dump | ( | ) | const |
|
inline |
double TNetConstraint< PGraph >::GetEdgeC | ( | const int & | NId1, |
const int & | NId2 | ||
) | const |
double TNetConstraint< PGraph >::GetNodeC | ( | const int & | NId | ) | const |
|
inline |
|
inline |
|
static |
Definition at line 997 of file triad.h.
PGraph TNetConstraint< PGraph >::Graph |
THash<TIntPr, TFlt> TNetConstraint< PGraph >::NodePrCH |