|
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 <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 859 of file triad.h.
References TNetConstraint< PGraph >::CalcConstraints(), CAssert, gfMultiGraph, and HasGraphFlag.

| void TNetConstraint< PGraph >::AddConstraint | ( | const int & | NId1, |
| const int & | NId2 | ||
| ) |
Definition at line 895 of file triad.h.
References TMath::Sqr().

| void TNetConstraint< PGraph >::CalcConstraints | ( | ) |
Definition at line 919 of file triad.h.
Referenced by TNetConstraint< PGraph >::TNetConstraint().

| void TNetConstraint< PGraph >::CalcConstraints | ( | const int & | NId | ) |
Definition at line 940 of file triad.h.
References THashSet< TKey, THashFunc >::AddKey(), and THashSet< TKey, THashFunc >::IsKey().

| 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 |
Definition at line 875 of file triad.h.
Referenced by TNetConstraint< PGraph >::Test().

|
inline |
Definition at line 848 of file triad.h.
References THash< TKey, TDat, THashFunc >::GetKey(), and TNetConstraint< PGraph >::NodePrCH.

|
inline |
Definition at line 846 of file triad.h.
References THash< TKey, TDat, THashFunc >::Len(), and TNetConstraint< PGraph >::NodePrCH.

|
static |
Definition at line 968 of file triad.h.
References TUNGraph::AddEdge(), TUNGraph::AddNode(), TNetConstraint< PGraph >::Dump(), TNetConstraint< PGraph >::GetNodeC(), and TUNGraph::New().

| PGraph TNetConstraint< PGraph >::Graph |
| THash<TIntPr, TFlt> TNetConstraint< PGraph >::NodePrCH |
Definition at line 843 of file triad.h.
Referenced by TNetConstraint< PGraph >::GetC(), TNetConstraint< PGraph >::GetNodePr(), and TNetConstraint< PGraph >::Len().