【24h】

Where's the Winner? Max-Finding and Sorting with Metric Costs

机译:赢家在哪里?最大查找和排序与度量成本

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Traditionally, a fundamental assumption in evaluating the performance of algorithms for sorting and selection has been that comparing any two elements costs one unit (of time, work, etc.); the goal of an algorithm is to minimize the total cost incurred. However, a body of recent work has attempted to find ways to weaken this assumption - in particular, new algorithms have been given for these basic problems of searching, sorting and selection, when comparisons between different pairs of elements have different associated costs. In this paper, we further these investigations, and address the questions of max-finding and sorting when the comparison costs form a metric; i.e., the comparison costs C_(uv) respect the triangle inequality C_(uv) + C_(uw) ≥ C_(uw) for all input elements u, v and w. We give the first results for these problems - specifically, we present 1. An O(log n)-competitive algorithm for max-finding on general metrics, and we improve on this result to obtain an O(1)-competitive algorithm for the max-finding problem in constant dimensional spaces. 2. An O(log~2 n)-competitive algorithm for sorting in general metric spaces. Our main technique for max-finding is to run two copies of a simple natural online algorithm (that costs too much when run by itself) in parallel. By judiciously exchanging information between the two copies, we can bound the cost incurred by the algorithm; we believe that this technique may have other applications to online algorithms.
机译:传统上,评估排序和选择算法性能的基本假设是,比较任何两个元素要花费一个单位(时间,工作等)。算法的目标是最大程度地降低总成本。但是,最近的大量工作试图找到削弱这一假设的方法-特别是,当不同对元素之间的比较具有不同的相关成本时,针对这些基本的搜索,排序和选择问题提出了新的算法。在本文中,我们将进一步进行这些研究,并在比较成本形成度量标准时解决最大查找和排序问题。即比较成本C_(uv)尊重所有输入元素u,v和w的三角不等式C_(uv)+ C_(uw)≥C_(uw)。我们给出这些问题的第一个结果-具体来说,我们给出1.一个O(log n)竞争算法,用于在一般度量上进行最大查找,并且对此结果进行改进以获得O(1)竞争算法。恒定维空间中的最大寻找问题。 2.用于在一般度量空间中进行排序的O(log〜2 n)竞争算法。我们最大查找的主要技术是并行运行两个简单的自然在线算法的副本(如果单独运行,则成本很高)。通过明智地在两个副本之间交换信息,我们可以约束算法所产生的成本。我们认为该技术可能会对在线算法产生其他应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号