首页> 外文学位 >Sorting by exchanging elements at bounded distance.
【24h】

Sorting by exchanging elements at bounded distance.

机译:通过在有限距离处交换元素进行排序。

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

摘要

We consider the problem of sorting an arbitrary permutation of length n by exchanging two elements at bounded distance k, this has been called "short swap k". If k = 2, we are allowed to exchange two elements that are either adjacent or at distance 2. We show an upper bound of (3/16) n2+ O(n log n) for sorting on a linear permutation, improving the previous (1/4)n 2 upper bound. We also show that there is a short swap 2 sorting network with (1/4)n2+O(n log n) comparators and depth (3/4)n. We generalized the problem by giving an upper bound of (11/90)n2 + O(n log n) for the case k = 3 and an upper bound of (3/(8k))n 2 + O(n log n) for all k > 3, when k is even. We also show a way to build short swap k sorting network with (1/(2k)) n2 + O(n log n) comparators and depth (3/(2k))n.; For the problem of sorting on cyclic permutations, we prove an upper bound of (1/4)n2 + O(n) for sorting by exchanging adjacent element. We show an upper bound of (5/32) n2 + O(n log n), a lower bound of (1/4)n2 + O(n) and a 2-approximation algorithm for sorting by short swap 2.; Given two binary cyclic strings with equal length n and which have the same number of 1s and 0s, we consider the problem of transforming one into the other in the minimum number of steps by exchanging adjacent elements. We show this problem is polynomial solvable by giving an O(n 2) algorithm.
机译:我们考虑通过交换两个有界距离k的元素来排序长度为n的任意排列的问题,这被称为“短交换k”。如果k = 2,则允许我们交换两个相邻的或距离2的元素。我们显示了(3/16)n2 + O(n log n)的上限,用于对线性置换进行排序,从而改善了前一个( 1/4)n 2上限。我们还显示,存在一个短交换2排序网络,其中包含(1/4)n2 + O(n log n)比较器和深度(3/4)n。我们通过在k = 3的情况下给出(11/90)n2 + O(n log n)的上限以及(3 /(8k))n 2 + O(n log n)的上限来概括问题对于所有k> 3,当k为偶数时。我们还展示了一种使用(1 /(2k))n2 + O(n log n)比较器和深度(3 /(2k))n构建短交换k排序网络的方法。对于循环置换的排序问题,我们通过交换相邻元素证明了(1/4)n2 + O(n)的上限用于排序。我们显示了(5/32)n2 + O(n log n)的上限,(1/4)n2 + O(n)的下限,以及通过短交换2排序的2-近似算法。给定两个长度为n且具有相同的1s和0s的二进制循环字符串,我们考虑了通过交换相邻元素以最小步数将一个转换为另一个的问题。通过给出一个O(n 2)算法,我们证明了这个问题是多项式可解的。

著录项

  • 作者

    Feng, Xuerong.;

  • 作者单位

    The University of Texas at Dallas.;

  • 授予单位 The University of Texas at Dallas.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2005
  • 页码 112 p.
  • 总页数 112
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术 ;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号