计算机应用 ›› 2012, Vol. 32 ›› Issue (09): 2455-2457.DOI: 10.3724/SP.J.1087.2012.02455

• 先进计算 • 上一篇    下一篇

基于Java的按位拆分快速排序并行算法

庹清1,2*,宋耀虎2   

  1. 1.吉首大学 城乡资源与规划学院,湖南 张家界 427000;
    2.吉首大学 数学与统计学院,湖南 吉首 416000
  • 收稿日期:2012-03-13 修回日期:2012-05-15 发布日期:2012-09-01 出版日期:2012-09-01
  • 通讯作者: 庹清
  • 作者简介:庹清(1964-),男,湖南张家界人,教授,博士,主要研究方向:并行计算、算法优化; 宋耀虎(1986-),男,广西都安人,主要研究方向:算法设计与分析。
  • 基金资助:

    国家自然科学基金资助项目(11101186);湖南省教育厅科学研究基金资助项目(08A057);吉首大学博士基金资助项目(201101)

Bit-split parallel algorithm for quick sorting based on Java

TUO Qing1,2*,SONG Yao-hu2   

  1. 1.College of Urban and Rural Resources and Planning,Jishou University,Zhangjiajie Hunan 427000,China;
    2.College of Mathematics and Statistics,Jishou University,Jishou Hunan 416000,China
  • Received:2012-03-13 Revised:2012-05-15 Online:2012-09-01 Published:2012-09-01
  • Contact: Qing TUO

摘要: 针对大数据量排序算法优化问题,提出一种基于Java的按位拆分的排序新算法。该排序算法按照位拆分数据,并结合Java的多线程对拆分的数据进行并行处理。数据实验结果表明,对于大数据量排序,该算法性能明显优于快速排序算法,而且算法具有很好的并行效率。

关键词: 按位拆分, 快速排序, 并行算法, 数据实验, 算法分析

Abstract: This paper presented a new sorting algorithm based on bit-split quick sort that aimed to explore the algorithm which had excellent performance for large data. The algorithm split data in bit, and parallel processed the split data in combination with Java's concurrent mechanism. The data experiments show that the new sorting algorithm is significantly better than quick sort for large data sorting and owns very good parallel efficiency.

Key words: bit-split, quick sort, parallel algorithm, data experiment, algorithm analysis

中图分类号: