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

VB6.0内部随机数发生器性能检验
引用本文:宋建学,康冠军.VB6.0内部随机数发生器性能检验[J].郑州大学学报(理学版),2005,37(4):49-52.
作者姓名:宋建学  康冠军
作者单位:[1]郑州大学土木工程学院,郑州450002 [2]许昌市规划设计院,河南许昌461000
基金项目:河南省科技攻关计划项目,编号991150122.
摘    要:针对Visual Basic 6.0内部随机数发生器,按无初始化、序列初始化和变量初始化等方法产生随机数序列,并对序列的均匀性和独立性进行实验.统计检验表明:该发生器性能优良,无初始化和序列初始化性能相近,其均匀性被拒绝的概率约l0%,独立性被拒绝的概率约30%.如果产生每个随机数时都以当前时钟对发生器进行初始化,所得序列的均匀性略有改进,但独立性不能通过检验.

关 键 词:计算机仿真  随机数  均匀性  独立性  VB6.0
收稿时间:12 9 2004 12:00AM

Statistic Properties Verifying on the Internal Random Function of Visual Basic 6.0
Song Jianxue, Kang Guanjun.Statistic Properties Verifying on the Internal Random Function of Visual Basic 6.0[J].Journal of Zhengzhou University:Natural Science Edition,2005,37(4):49-52.
Authors:Song Jianxue  Kang Guanjun
Affiliation:1. College of Civil Engineering, Zhengzhou University, Zhengzhou 450002,China; 2. Xuchang Urban Planing Institute, Xuchang 461000,China
Abstract:Non-randomized, series-randomized and every-single-variable randomized approaches are applied to verify the property of internal random function in Visual Basic 6.0, focusing on uniformity and independence. The statistical result indicates that the overall property of the internal function is pretty good. The properties of non-randomized and series-randomized series are much close, showing about 10% and 30% abandon rate of uniformity and independence respectively. If the function is randomized before every single variable is generated, uniformity is a bit better. However, the independence is deteriorating dramatically to be refused.
Keywords:computer simulation  random number  uniformity  independence  Visual Basic 6  0
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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