首页> 外文会议>Fun with algorithms. >Practical Algorithms for Generating a Random Ordering of the Elements of a Weighted Set
【24h】

Practical Algorithms for Generating a Random Ordering of the Elements of a Weighted Set

机译:生成加权集元素随机排序的实用算法

获取原文
获取原文并翻译 | 示例

摘要

This paper discusses the problem of efficiently generating a random ordering of the elements of an n-element weighted set, where the elements' weights are interpreted as relative probabilities. The paper reviews the current status of this problem, which includes a purely theoretical algorithm with the optimal O(n) cost, then presents several new algorithms that are simple, practical and nearly optimal, including one with an expected cost of O(n log log n) on worst-case inputs, and another one with an expected cost of O(n) when the weights are randomly chosen from distributions that are believed to be ubiquitous in the real world. It is still an open question whether there exists a practical algorithm with O(n) expected cost on worst case inputs.
机译:本文讨论了有效生成n元素加权集的元素的随机排序的问题,其中元素的权重被解释为相对概率。本文回顾了该问题的现状,包括一个具有最佳O(n)成本的纯理论算法,然后提出了几种简单,实用且接近最优的新算法,其中包括一个预期成本为O(n log)的算法。 log n)是最坏情况下的输入,当权重是从现实世界中普遍存在的分布中随机选择时,另一个具有预期成本O(n)的结果。在最坏的情况下,是否存在一种实用的算法,其期望成本为O(n),这仍然是一个悬而未决的问题。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号