|
SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
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 |
Definition at line 126 of file mag.h.
References AlphaV, BetaV, and TVec< TVal, TSizeTy >::PutAll().

Definition at line 127 of file mag.h.
References Dim, TVec< TVal, TSizeTy >::Gen(), IAssert, TVec< TVal, TSizeTy >::Len(), and MuV.

| void TMAGNodeBeta::AttrGen | ( | TIntVV & | AttrVV, |
| const int & | NNodes | ||
| ) |
Definition at line 323 of file mag.cpp.
References AlphaV, TVVec< TVal, TSizeTy >::At(), BetaV, Dim, Dirty, TVVec< TVal, TSizeTy >::Gen(), TRnd::GetGammaDev(), IAssert, MuV, and TVVec< TVal, TSizeTy >::PutAll().

|
inline |
|
inline |
| void TMAGNodeBeta::LoadTxt | ( | const TStr & | InFNm | ) |
Definition at line 343 of file mag.cpp.
References TVec< TVal, TSizeTy >::Add(), AlphaV, BetaV, TStr::CStr(), Dim, TVec< TVal, TSizeTy >::Gen(), TStr::GetFlt(), and IAssertR.

| TMAGNodeBeta & TMAGNodeBeta::operator= | ( | const TMAGNodeBeta & | Dist | ) |
| void TMAGNodeBeta::SaveTxt | ( | TStrV & | OutStrV | ) | const |
Definition at line 373 of file mag.cpp.
References TVec< TVal, TSizeTy >::Add(), AlphaV, BetaV, Dim, TStr::Fmt(), and TVec< TVal, TSizeTy >::Gen().

| void TMAGNodeBeta::SetBeta | ( | const int & | Attr, |
| const double & | Alpha, | ||
| const double & | Beta | ||
| ) |
|
private |
Definition at line 119 of file mag.h.
Referenced by AttrGen(), GetBeta(), GetBetaV(), LoadTxt(), operator=(), SaveTxt(), SetBeta(), SetBetaV(), and TMAGNodeBeta().
|
private |
Definition at line 120 of file mag.h.
Referenced by AttrGen(), GetBeta(), GetBetaV(), LoadTxt(), operator=(), SaveTxt(), SetBeta(), SetBetaV(), and TMAGNodeBeta().
|
private |
Definition at line 122 of file mag.h.
Referenced by AttrGen(), GetBeta(), LoadTxt(), operator=(), SaveTxt(), SetBeta(), SetBetaV(), and TMAGNodeBeta().
|
private |
Definition at line 123 of file mag.h.
Referenced by AttrGen(), GetMuV(), operator=(), SetBeta(), and SetBetaV().
|
private |
Definition at line 121 of file mag.h.
Referenced by AttrGen(), GetMuV(), operator=(), and TMAGNodeBeta().