Algorithms for generating small random samples

生成小规模随机样本的算法

Vincent A. Cicirello

DOI: 10.1002/spe.3379

期刊: Software Practice and Experience

摘要

Abstract We present algorithms for generating small random samples without replacement. We consider two cases. We present an algorithm for sampling a pair of distinct integers, and an algorithm for sampling a triple of distinct integers. The worst‐case runtime of both algorithms is constant, while the worst‐case runtimes of common algorithms for the general case of sampling elements from a set of increase with . Java implementations of both algorithms are included in the open source library .

文章解读

研飞AI智能解析 PDF,回答研究者问题,助你秒懂论文

免费下载

期刊信息

期刊:

ISSN: 0038-0644

国际分区

类目分区
COMPUTER SCIENCE, SOFTWARE ENGINEERING2

国内分区

类目分区
计算机科学4
计算机科学, 计算机软件工程4
Built withby Ivy Science
Copyright © 2020-2024
版权所有:南京青藤格致信息科技有限公司
隐私和监管政策
苏ICP备20040574号-1
ICP许可证: 苏B2-20220377