SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
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) |
TMAGNodeBern::TMAGNodeBern | ( | ) | [inline] |
TMAGNodeBern::TMAGNodeBern | ( | const int & | _Dim, |
const double & | _Mu = 0.5 |
||
) | [inline] |
TMAGNodeBern::TMAGNodeBern | ( | const TFltV & | _MuV | ) | [inline] |
TMAGNodeBern::TMAGNodeBern | ( | const TMAGNodeBern & | Dist | ) | [inline] |
void TMAGNodeBern::AttrGen | ( | TIntVV & | AttrVV, |
const int & | NNodes | ||
) |
double TMAGNodeBern::GetMu | ( | const int & | Attr | ) | const [inline] |
const TFltV& TMAGNodeBern::GetMuV | ( | ) | const [inline] |
void TMAGNodeBern::LoadTxt | ( | const TStr & | InFNm | ) |
TMAGNodeBern & TMAGNodeBern::operator= | ( | const TMAGNodeBern & | Dist | ) |
void TMAGNodeBern::SaveTxt | ( | TStrV & | OutStrV | ) | const |
void TMAGNodeBern::SetMu | ( | const int & | Attr, |
const double & | Prob | ||
) | [inline] |
void TMAGNodeBern::SetMuV | ( | const TFltV & | _MuV | ) | [inline] |
TRnd TMAGNodeBern::Rnd = TRnd(0) [static] |