Optimisation of Algorithms Generating Pseudorandom Integers with Binomial Distribution

R. Horváth
{"title":"Optimisation of Algorithms Generating Pseudorandom Integers with Binomial Distribution","authors":"R. Horváth","doi":"10.1109/ICETA57911.2022.9974736","DOIUrl":null,"url":null,"abstract":"This article summarises the creation of two approaches how to produce pseudorandom integers with binomial distribution and their comparison with other selected implementations. The first approach does the work by preparing a probability table searchable by the binary search algorithm, and the second one is about generating the values using the Galton board simulation. The second approach is slower (significantly slower for bigger numbers of trials) but is applicable in situations where the probability of success (connected to the binomial distribution process) is not uniformly distributed.","PeriodicalId":151344,"journal":{"name":"2022 20th International Conference on Emerging eLearning Technologies and Applications (ICETA)","volume":"35 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 20th International Conference on Emerging eLearning Technologies and Applications (ICETA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICETA57911.2022.9974736","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This article summarises the creation of two approaches how to produce pseudorandom integers with binomial distribution and their comparison with other selected implementations. The first approach does the work by preparing a probability table searchable by the binary search algorithm, and the second one is about generating the values using the Galton board simulation. The second approach is slower (significantly slower for bigger numbers of trials) but is applicable in situations where the probability of success (connected to the binomial distribution process) is not uniformly distributed.
二项分布伪随机整数生成算法的优化
本文总结了生成二项分布伪随机整数的两种方法,以及它们与其他选定实现的比较。第一种方法是通过准备一个可由二进制搜索算法搜索的概率表来完成工作,第二种方法是使用高尔顿板模拟来生成值。第二种方法比较慢(试验次数越多越慢),但适用于成功概率(与二项分布过程相关)不是均匀分布的情况。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信