首页> 外文会议>IEEE International Conference on Data Stream Mining and Processing >Optimized Concise Implementation of Batcher's Odd-Even Sorting
【24h】

Optimized Concise Implementation of Batcher's Odd-Even Sorting

机译:优化的简要实施Batcher奇数 - 偶数排序

获取原文

摘要

The odd-even sort algorithm designed by Batcher [1] is a divide-and-conquer parallel sorting algorithm with O(log2(n)) delay time [2]. It is described in the literature [3] as very practical due to the potentially easy implementation, which is a notable advantage over AKS sorting networks [4]. However, the most basic literature on that topic contains either theoretical background without any implementations usable with the modern compilers [2] or C-like code snippets that are apparently erroneous [3]. In this paper, we propose an alternative to the code from [3] which improves compatibility with the C++ standard [5], fixes the bug that affected the computational complexity, and yields even further practical improvement to the execution time. All the specified enhancements are achieved without increasing the structural complexity of the method, so the proposed code remains as concise as the original.
机译:由Batcher [1]设计的奇数偶数排序算法是与O的分行并征服并联分类算法(日志 2 (n))延迟时间[2]。它在文献[3]中描述了,由于潜在的易于实现,这是对AKS分类网络的显着优势[4]。但是,该主题上最基本的文献包含理论背景,没有任何可用的现代编译器[2]或类似于显然错误的代码片段[3]。在本文中,我们提出了从[3]的代码的替代方法,这提高了与C ++标准的兼容性[5],修复了影响计算复杂度的错误,并产生对执行时间的进一步实际改进。在不增加该方法的结构复杂性的情况下实现了所有指定的增强,因此所提出的代码保持简洁。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号