|
SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <mag.h>

Public Member Functions | |
| TMAGNodeSimple () | |
| TMAGNodeSimple (const int &_Dim, const double &_Mu=0.5) | |
| TMAGNodeSimple (const TMAGNodeSimple &Simple) | |
| TMAGNodeSimple & | operator= (const TMAGNodeSimple &Simple) |
| 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 | |
| TFlt | Mu |
| TInt | Dim |
|
inline |
|
inline |
| void TMAGNodeSimple::AttrGen | ( | TIntVV & | AttrVV, |
| const int & | NNodes | ||
| ) |
Definition at line 201 of file mag.cpp.
References TVVec< TVal >::At(), Dim, TVVec< TVal >::Gen(), IAssert, Mu, and TVVec< TVal >::PutAll().

| void TMAGNodeSimple::LoadTxt | ( | const TStr & | InFNm | ) |
Definition at line 215 of file mag.cpp.
References TStr::CStr(), TStr::GetFlt(), IAssertR, and Mu.

|
inline |
| void TMAGNodeSimple::SaveTxt | ( | TStrV & | OutStrV | ) | const |
Definition at line 232 of file mag.cpp.
References TVec< TVal, TSizeTy >::Add(), Dim, TStr::Fmt(), TVec< TVal, TSizeTy >::Gen(), and Mu.

|
private |
Definition at line 72 of file mag.h.
Referenced by AttrGen(), operator=(), and SaveTxt().
|
private |
Definition at line 71 of file mag.h.
Referenced by AttrGen(), LoadTxt(), operator=(), SaveTxt(), and TMAGNodeSimple().