⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sys_random.h

📁 此程序为wcdma系统当中ftp/video业务模型的c++程序仿真 通过此程序 能得到此两种业务在多种条件下的吞吐量和无码率的性能
💻 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. 	
float xLognormal(float,float,float,float);
#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -