SNAP Library 2.3, Developer Reference
2014-06-16 11:58:46
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <exp.h>
Public Member Functions | |
TExpBi () | |
TExpBi & | operator= (const TExpBi &) |
bool | operator== (const TExpBi &) const |
bool | IsExpBiId (const TStr &ExpBiNm, TExpBiId &ExpBiId) |
bool | IsExpBiId (const TStr &ExpBiNm) |
TExpBiArgType | GetExpBiArgType (const TExpBiId &ExpBiId) |
void | AssertArgs (const int &RqArgs, const int &ActArgs) |
void | AssertArgValType (const TExpValType &ExpValType, const PExpVal &ExpVal) |
PExpVal | GetBiConstVal (const TExpBiId &ExpBiId) |
PExpVal | GetBiFuncVal (const TExpBiId &ExpBiId, const TExpValV &ArgValV, const PExpEnv &ExpEnv) |
Private Member Functions | |
void | AddBi (const TStr &ExpBiNm, const TExpBiId &ExpBiId, const TExpBiArgType &ExpBiArgType=ebatUndef) |
Private Attributes | |
TStrIntH | ExpBiNmToIdH |
TIntIntH | ExpBiIdToArgTypeH |
PExpVal | Val_Undef |
PExpVal | Val_True |
PExpVal | Val_False |
PExpVal | Val_E |
PExpVal | Val_Pi |
TExpBi::TExpBi | ( | ) |
Definition at line 183 of file exp.cpp.
References AddBi(), TMath::E, ebatFlt, ebatFltFlt, ebatVoid, ebi_Abs, ebi_ACos, ebi_ASin, ebi_ATan, ebi_BinDev, ebi_Ceil, ebi_Cos, ebi_CosH, ebi_E, ebi_Exp, ebi_ExpDev, ebi_False, ebi_Floor, ebi_Frac, ebi_GamDev, ebi_Int, ebi_Log, ebi_Log10, ebi_NrmDev, ebi_Pi, ebi_PoiDev, ebi_Pow, ebi_Sin, ebi_SinH, ebi_Sqr, ebi_Sqrt, ebi_Tan, ebi_TanH, ebi_True, ebi_Undef, ebi_UniDev, ebi_UniDevStep, TExpVal::GetUndefExpVal(), TExpVal::New(), TMath::Pi, Val_E, Val_False, Val_Pi, Val_True, and Val_Undef.
|
private |
Definition at line 235 of file exp.cpp.
References THash< TKey, TDat, THashFunc >::AddDat(), ExpBiIdToArgTypeH, ExpBiNmToIdH, and TStr::GetUc().
Referenced by TExpBi().
void TExpBi::AssertArgs | ( | const int & | RqArgs, |
const int & | ActArgs | ||
) |
Definition at line 255 of file exp.cpp.
References TExcept::Throw().
Referenced by GetBiFuncVal().
void TExpBi::AssertArgValType | ( | const TExpValType & | ExpValType, |
const PExpVal & | ExpVal | ||
) |
Definition at line 261 of file exp.cpp.
References TExpVal::GetValType(), and TExcept::Throw().
Referenced by GetBiFuncVal().
PExpVal TExpBi::GetBiFuncVal | ( | const TExpBiId & | ExpBiId, |
const TExpValV & | ArgValV, | ||
const PExpEnv & | ExpEnv | ||
) |
Definition at line 279 of file exp.cpp.
References AssertArgs(), AssertArgValType(), ebatFlt, ebatFltFlt, ebatUndef, ebatVoid, ebi_Abs, ebi_ACos, ebi_ASin, ebi_ATan, ebi_BinDev, ebi_Ceil, ebi_Cos, ebi_CosH, ebi_Exp, ebi_ExpDev, ebi_ExpDevStep, ebi_Floor, ebi_Frac, ebi_GamDev, ebi_Int, ebi_Log, ebi_Log10, ebi_NrmDev, ebi_NrmDevStep, ebi_PoiDev, ebi_Pow, ebi_Sin, ebi_SinH, ebi_Sqr, ebi_Sqrt, ebi_Tan, ebi_TanH, ebi_UniDev, ebi_UniDevStep, evtFlt, Fail, GetExpBiArgType(), TRnd::GetExpDevStep(), TRnd::GetNrmDevStep(), TRnd::GetUniDevStep(), TVec< TVal, TSizeTy >::Len(), TExpVal::New(), TMath::Sqr(), and TExcept::Throw().
Referenced by TExp::EvalExp().
TExpBiArgType TExpBi::GetExpBiArgType | ( | const TExpBiId & | ExpBiId | ) |
Definition at line 250 of file exp.cpp.
References ExpBiIdToArgTypeH, and THash< TKey, TDat, THashFunc >::GetDat().
Referenced by GetBiFuncVal().
Definition at line 241 of file exp.cpp.
References ebi_Undef, ExpBiNmToIdH, TStr::GetUc(), and THash< TKey, TDat, THashFunc >::IsKey().
Referenced by IsExpBiId(), and TExp::TExp().
|
inline |
Definition at line 154 of file exp.h.
References IsExpBiId().
|
inline |
|
private |
Definition at line 143 of file exp.h.
Referenced by AddBi(), and GetExpBiArgType().
|
private |
Definition at line 142 of file exp.h.
Referenced by AddBi(), and IsExpBiId().
|
private |
Definition at line 144 of file exp.h.
Referenced by GetBiConstVal(), and TExpBi().
|
private |
Definition at line 144 of file exp.h.
Referenced by GetBiConstVal(), and TExpBi().
|
private |
Definition at line 144 of file exp.h.
Referenced by GetBiConstVal(), and TExpBi().
|
private |
Definition at line 144 of file exp.h.
Referenced by GetBiConstVal(), and TExpBi().
|
private |
Definition at line 144 of file exp.h.
Referenced by GetBiConstVal(), and TExpBi().