【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(log n) - 竞争算法,我们改进了这一结果,以获得O(1) - 竞争力算法恒定尺寸空间中的最大发现问题。 2. O(log〜2 n) - 普通度量空间中排序的竞争算法。我们的最大发现的主要技术是在并行运行简单的自然在线算法的两个简单自然在线算法(其耗费太大)副本。通过大理之一地交换两份副本之间的信息,我们可以绑定算法产生的成本;我们认为,该技术可能对在线算法中的其他应用程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号