?? sys_random.h
字號:
//sys_random.h
//the declaration of all random functions needed by the simulation project
//////////////////////////////////////////////////////////////////////////////
#if !defined(CDMA__SIMULATION__RANDOMFUNC__H__INCLUDE)
#define CDMA__SIMULATION__RANDOMFUNC__H__INCLUDE
#define PI 3.14159265
//void initialize(); //random program init
int xPoisson(long,float,float); //get Poisson distribution random
//int xPoisson1(Real);
//int xPoisson2(Real);
float xUniform(float down=0.0,float up=1.0); //get a random of (down,up) from uniform random
float xExponent(float); //get serve time from exponent random
float Shadow_Fading(); //get first shadow fading
float Next_Shadow_Fading(float,float,float); //get next shadow fading
int xGeometry(float); //get on/off flag from geometry random
int xMixed_Geometry(float,float,float,float); //mix geometry random
int xPareto(float,float,int); //get Pareto Distribution(float shape,float scale) with cutoff(int MTU) r.v.
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -