首页    期刊浏览 2024年11月24日 星期日
登录注册

文章基本信息

  • 标题:Parallel Weighted Random Sampling
  • 本地全文:下载
  • 作者:Lorenz H{"u}bschle-Schneider ; Peter Sanders
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:144
  • 页码:1-24
  • DOI:10.4230/LIPIcs.ESA.2019.59
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Data structures for efficient sampling from a set of weighted items are an important building block of many applications. However, few parallel solutions are known. We close many of these gaps both for shared-memory and distributed-memory machines. We give efficient, fast, and practicable algorithms for sampling single items, k items with/without replacement, permutations, subsets, and reservoirs. We also give improved sequential algorithms for alias table construction and for sampling with replacement. Experiments on shared-memory parallel machines with up to 158 threads show near linear speedups both for construction and queries.
  • 关键词:categorical distribution; multinoulli distribution; parallel algorithm; alias method; PRAM; communication efficient algorithm; subset sampling; reser
国家哲学社会科学文献中心版权所有