SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TMAGNodeBern Class Reference

List of all members.

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)

Constructor & Destructor Documentation

TMAGNodeBern::TMAGNodeBern ( const int &  _Dim,
const double &  _Mu = 0.5 
) [inline]
TMAGNodeBern::TMAGNodeBern ( const TFltV &  _MuV) [inline]
TMAGNodeBern::TMAGNodeBern ( const TMAGNodeBern &  Dist) [inline]

Member Function Documentation

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]

Member Data Documentation

TRnd TMAGNodeBern::Rnd = TRnd(0) [static]

The documentation for this class was generated from the following files: