首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于VB环境下组合随机数发生器的构建
引用本文:张良扬,戴勇.一种基于VB环境下组合随机数发生器的构建[J].计算机仿真,2004,21(9):82-84.
作者姓名:张良扬  戴勇
作者单位:南京航空航天大学CIMS实验室,江苏,南京,210016
摘    要:由于随机数是离散事件系统计算机仿真的核心所在,所以随机数列的性能好坏直接影响仿真结果的有效性。该文叙述了采用构造的线性同余发生器和Visual Basic环境中Rnd()函数结合起来,构建组合发生器的方法。比较了单独使用RIM()函数得到的随机数列与使用组合发生器得到的随机数列的性能指标,后者在保持随机数列均匀性的同时,大大提高了随机数列的独立性。

关 键 词:VB环境  随机数发生器  离散事件  计算机仿真  线性同余发生器
文章编号:1006-9348(2004)09-0082-03
修稿时间:2003年4月2日

Research on a Kind of Combined Pseudorandom Number Generator Based on Visual Basic
ZHANG Liang-yang,DAI Yong.Research on a Kind of Combined Pseudorandom Number Generator Based on Visual Basic[J].Computer Simulation,2004,21(9):82-84.
Authors:ZHANG Liang-yang  DAI Yong
Abstract:As we know, the random number is the base of computer simulation for discrete event dynamic system(DEDS). So the capability of the random number sequence will affect the effectiveness of our simulation result. In this paper, we build a combined generator by combining a linear congruence generator and the Rnd() function in Visual Basic.Then we use either the Rnd() function or the combined generator to create a series of random number sequences. We find the statistical characters of the latter are far better. Along with retaining the homogeneity, it improves the independence greatly.
Keywords:Random number  Combined random number generator  System simulation
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号