SNAP Library 6.0, User Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <mag.h>
Public Member Functions | |
TMAGNodeBeta () | |
TMAGNodeBeta (const int &_Dim, const double &Alpha=1, const double &Beta=1) | |
TMAGNodeBeta (const TFltV &_AlphaV, const TFltV &_BetaV) | |
TMAGNodeBeta & | operator= (const TMAGNodeBeta &Dist) |
void | SetBeta (const int &Attr, const double &Alpha, const double &Beta) |
void | GetBeta (const int &Attr, double &Alpha, double &Beta) const |
void | SetBetaV (const TFltV &_AlphaV, const TFltV &_BetaV) |
void | GetBetaV (TFltV &_AlphaV, TFltV &_BetaV) const |
bool | GetMuV (TFltV &_MuV) const |
void | LoadTxt (const TStr &InFNm) |
void | SaveTxt (TStrV &OutStrV) const |
void | AttrGen (TIntVV &AttrVV, const int &NNodes) |
Static Public Attributes | |
static TRnd | Rnd = TRnd(0) |
Private Attributes | |
TFltV | AlphaV |
TFltV | BetaV |
TFltV | MuV |
TInt | Dim |
TBool | Dirty |
|
inline |
void TMAGNodeBeta::AttrGen | ( | TIntVV & | AttrVV, |
const int & | NNodes | ||
) |
|
inline |
void TMAGNodeBeta::LoadTxt | ( | const TStr & | InFNm | ) |
TMAGNodeBeta & TMAGNodeBeta::operator= | ( | const TMAGNodeBeta & | Dist | ) |
void TMAGNodeBeta::SaveTxt | ( | TStrV & | OutStrV | ) | const |
void TMAGNodeBeta::SetBeta | ( | const int & | Attr, |
const double & | Alpha, | ||
const double & | Beta | ||
) |