跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据结构与算法

arXiv:1508.03167 (cs)
[提交于 2015年8月13日]

标题:MergeShuffle: A Very Fast, Parallel Random Permutation Algorithm

作者:Axel Bacher, Olivier Bodini, Alexandros Hollender, Jérémie Lumbroso
查看论文《MergeShuffle: A Very Fast, Parallel Random Permutation Algorithm》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:This article introduces an algorithm, MergeShuffle, which is an extremely efficient algorithm to generate random permutations (or to randomly permute an existing array). It is easy to implement, runs in $n\log_2 n + O(1)$ time, is in-place, uses $n\log_2 n + \Theta(n)$ random bits, and can be parallelized accross any number of processes, in a shared-memory PRAM model. Finally, our preliminary simulations using OpenMP suggest it is more efficient than the Rao-Sandelius algorithm, one of the fastest existing random permutation algorithms. We also show how it is possible to further reduce the number of random bits consumed, by introducing a second algorithm BalancedShuffle, a variant of the Rao-Sandelius algorithm which is more conservative in the way it recursively partitions arrays to be shuffled. While this algorithm is of lesser practical interest, we believe it may be of theoretical value. Our full code is available at: https://github.com/axel-bacher/mergeshuffle
评论: Preliminary draft. 12 pages, 1 figure, 3 algorithms, implementation code at https://github.com/axel-bacher/mergeshuffle
主题: 数据结构与算法 (cs.DS); 离散数学 (cs.DM)
引用方式: arXiv:1508.03167 [cs.DS]
  (或者 arXiv:1508.03167v1 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.1508.03167

提交历史

来自:Jérémie Lumbroso
[v1] 2015年8月13日 星期四 10:37:54 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DS
< 上一篇   |   下一篇 >
最新 | 近期 | 2015-08
切换浏览方式为:
cs
cs.DM

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站