SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
Public Member Functions | |
TMAGAffMtx () | |
TMAGAffMtx (const int &Dim) | |
TMAGAffMtx (const TFltV &SeedMatrix) | |
TMAGAffMtx (const TMAGAffMtx &Kronecker) | |
TMAGAffMtx & | operator= (const TMAGAffMtx &Kronecker) |
bool | operator== (const TMAGAffMtx &Kronecker) const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
int | GetDim () const |
int | Len () const |
bool | Empty () const |
bool | IsProbMtx () const |
TFltV & | GetMtx () |
const TFltV & | GetMtx () const |
void | SetMtx (const TFltV &ParamV) |
void | SetRndMtx (TRnd &Rnd, const int &PrmMtxDim=2, const double &MinProb=0.0) |
void | PutAllMtx (const double &Val) |
void | GenMtx (const int &Dim) |
void | SetEpsMtx (const double &Eps1, const double &Eps0, const int &Eps1Val=1, const int &Eps0Val=0) |
void | AddRndNoise (TRnd &Rnd, const double &SDev) |
TStr | GetMtxStr () const |
const double & | At (const int &Row, const int &Col) const |
double & | At (const int &Row, const int &Col) |
const double & | At (const int &ValN) const |
double & | At (const int &ValN) |
double | GetMtxSum () const |
double | GetRowSum (const int &RowId) const |
double | GetColSum (const int &ColId) const |
double | Normalize () |
void | GetLLMtx (TMAGAffMtx &LLMtx) |
void | GetProbMtx (TMAGAffMtx &ProbMtx) |
void | Swap (TMAGAffMtx &Mtx) |
void | Dump (const TStr &MtxNm=TStr(), const bool &Sort=false) const |
Static Public Member Functions | |
static double | GetAvgAbsErr (const TMAGAffMtx &Mtx1, const TMAGAffMtx &Mtx2) |
static double | GetAvgFroErr (const TMAGAffMtx &Mtx1, const TMAGAffMtx &Mtx2) |
static TMAGAffMtx | GetMtx (TStr MatlabMtxStr) |
static TMAGAffMtx | GetRndMtx (TRnd &Rnd, const int &Dim=2, const double &MinProb=0.0) |
TMAGAffMtx::TMAGAffMtx | ( | ) | [inline] |
TMAGAffMtx::TMAGAffMtx | ( | const int & | Dim | ) | [inline] |
TMAGAffMtx::TMAGAffMtx | ( | const TFltV & | SeedMatrix | ) |
TMAGAffMtx::TMAGAffMtx | ( | const TMAGAffMtx & | Kronecker | ) | [inline] |
void TMAGAffMtx::AddRndNoise | ( | TRnd & | Rnd, |
const double & | SDev | ||
) |
const double& TMAGAffMtx::At | ( | const int & | Row, |
const int & | Col | ||
) | const [inline] |
double& TMAGAffMtx::At | ( | const int & | Row, |
const int & | Col | ||
) | [inline] |
const double& TMAGAffMtx::At | ( | const int & | ValN | ) | const [inline] |
double& TMAGAffMtx::At | ( | const int & | ValN | ) | [inline] |
void TMAGAffMtx::Dump | ( | const TStr & | MtxNm = TStr() , |
const bool & | Sort = false |
||
) | const |
bool TMAGAffMtx::Empty | ( | ) | const [inline] |
void TMAGAffMtx::GenMtx | ( | const int & | Dim | ) | [inline] |
double TMAGAffMtx::GetAvgAbsErr | ( | const TMAGAffMtx & | Mtx1, |
const TMAGAffMtx & | Mtx2 | ||
) | [static] |
double TMAGAffMtx::GetAvgFroErr | ( | const TMAGAffMtx & | Mtx1, |
const TMAGAffMtx & | Mtx2 | ||
) | [static] |
double TMAGAffMtx::GetColSum | ( | const int & | ColId | ) | const |
int TMAGAffMtx::GetDim | ( | ) | const [inline] |
void TMAGAffMtx::GetLLMtx | ( | TMAGAffMtx & | LLMtx | ) |
TFltV& TMAGAffMtx::GetMtx | ( | ) | [inline] |
const TFltV& TMAGAffMtx::GetMtx | ( | ) | const [inline] |
TMAGAffMtx TMAGAffMtx::GetMtx | ( | TStr | MatlabMtxStr | ) | [static] |
TStr TMAGAffMtx::GetMtxStr | ( | ) | const |
double TMAGAffMtx::GetMtxSum | ( | ) | const |
int TMAGAffMtx::GetPrimHashCd | ( | ) | const [inline] |
void TMAGAffMtx::GetProbMtx | ( | TMAGAffMtx & | ProbMtx | ) |
TMAGAffMtx TMAGAffMtx::GetRndMtx | ( | TRnd & | Rnd, |
const int & | Dim = 2 , |
||
const double & | MinProb = 0.0 |
||
) | [static] |
double TMAGAffMtx::GetRowSum | ( | const int & | RowId | ) | const |
int TMAGAffMtx::GetSecHashCd | ( | ) | const [inline] |
bool TMAGAffMtx::IsProbMtx | ( | ) | const |
int TMAGAffMtx::Len | ( | ) | const [inline] |
double TMAGAffMtx::Normalize | ( | ) |
TMAGAffMtx & TMAGAffMtx::operator= | ( | const TMAGAffMtx & | Kronecker | ) |
bool TMAGAffMtx::operator== | ( | const TMAGAffMtx & | Kronecker | ) | const [inline] |
void TMAGAffMtx::PutAllMtx | ( | const double & | Val | ) | [inline] |
void TMAGAffMtx::SetEpsMtx | ( | const double & | Eps1, |
const double & | Eps0, | ||
const int & | Eps1Val = 1 , |
||
const int & | Eps0Val = 0 |
||
) |
void TMAGAffMtx::SetMtx | ( | const TFltV & | ParamV | ) | [inline] |
void TMAGAffMtx::SetRndMtx | ( | TRnd & | Rnd, |
const int & | PrmMtxDim = 2 , |
||
const double & | MinProb = 0.0 |
||
) |
void TMAGAffMtx::Swap | ( | TMAGAffMtx & | Mtx | ) |