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 | |
TMAGNodeBern () | |
TMAGNodeBern (const int &_Dim, const double &_Mu=0.5) | |
TMAGNodeBern (const TFltV &_MuV) | |
TMAGNodeBern (const TMAGNodeBern &Dist) | |
TMAGNodeBern & | operator= (const TMAGNodeBern &Dist) |
void | SetMuV (const TFltV &_MuV) |
const TFltV & | GetMuV () const |
void | SetMu (const int &Attr, const double &Prob) |
double | GetMu (const int &Attr) 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 | MuV |
TInt | Dim |
|
inline |
|
inline |
|
inline |
void TMAGNodeBern::AttrGen | ( | TIntVV & | AttrVV, |
const int & | NNodes | ||
) |
void TMAGNodeBern::LoadTxt | ( | const TStr & | InFNm | ) |
TMAGNodeBern & TMAGNodeBern::operator= | ( | const TMAGNodeBern & | Dist | ) |
void TMAGNodeBern::SaveTxt | ( | TStrV & | OutStrV | ) | const |
|
inline |