首页    期刊浏览 2025年04月17日 星期四
登录注册

文章基本信息

  • 标题:On the Robustness of k-Sort and its Comparison to Quick Sort in Average Case
  • 本地全文:下载
  • 作者:Mita Pal ; Soubhik Chakraborty
  • 期刊名称:Annals. Computer Science Series
  • 印刷版ISSN:1583-7165
  • 电子版ISSN:2065-7471
  • 出版年度:2012
  • 卷号:10
  • 期号:1
  • 页码:99-102
  • 出版社:Mirton Publishing House, Timisoara
  • 摘要:The present paper examines the robustness of the average case O (nlogn) complexity on K-sort, a new version of quick sort. In our first study we reconfirm this through computer experiments. A computer experiment is a series of runs of a code for various inputs. A deterministic computer experiment is one which produces identical results if the code is re-run for identical inputs. Our second study reveals that K-sort is the better choice for discrete uniform distribution U(1, 2,..., k) inputs whereas quick sort is found better for continuous uniform distribution U(0,1) inputs. Interestingly, increasing k which decreases the ties is good for quick sort but bad for K-sort.
  • 关键词:Cauchy distribution; Computer experiment; K-Sort; Robustness; average complexity
国家哲学社会科学文献中心版权所有