...
首页> 外文期刊>Journal of computer sciences >Sorting N-Elements Using Natural Order: A New Adaptive Sorting Approach | Science Publications
【24h】

Sorting N-Elements Using Natural Order: A New Adaptive Sorting Approach | Science Publications

机译:使用自然顺序对N元素进行排序:一种新的自适应排序方法|科学出版物

获取原文
           

摘要

> Problem statement: Researchers focused their attention on optimally adaptive sorting algorithm and illustrated a need to develop tools for constructing adaptive algorithms for large classes of measures. In adaptive sorting algorithm the run time for n input data smoothly varies from O(n) to O(nlogn), with respect to several measures of disorder. Questions were raised whether any approach or technique would reduce the run time of adaptive sorting algorithm and provide an easier way of implementation for practical applications. Approach: The objective of this study is to present a new method on natural sorting algorithm with a run time for n input data O(n) to O(nlogm), where m defines a positive value and surrounded by 50% of n. In our method, a single pass over the inputted data creates some blocks of data or buffers according to their natural sequential order and the order can be in ascending or descending. Afterward, a bottom up approach is applied to merge the naturally sorted subsequences or buffers. Additionally, a parallel merging technique is successfully aggregated in our proposed algorithm. Results: Experiments are provided to establish the best, worst and average case runtime behavior of the proposed method. The simulation statistics provide same harmony with the theoretical calculation and proof the method efficiency. Conclusion: The results indicated that our method uses less time as well as acceptable memory to sort a data sequence considering the natural order behavior and applicable to the realistic researches. The parallel implementation can make the algorithm for efficient in time domain and will be the future research issue.
机译: > 问题陈述:研究人员将注意力集中在最佳自适应排序算法上,并说明了开发用于构建适用于大类度量的自适应算法的工具的需求。在自适应排序算法中,n种输入数据的运行时间在O(n)到O(nlogn)之间平稳变化,这与几种无序测量有关。有人质疑是否有任何方法或技术会减少自适应分类算法的运行时间,并为实际应用提供更简单的实现方式。 方法:本研究的目的是提出一种自然排序算法的新方法,该方法的运行时间为n个输入数据O(n)至O(nlogm),其中m定义一个正值并被包围按n的50%在我们的方法中,对输入的数据进行一次遍历会根据其自然顺序创建一些数据块或缓冲区,并且该顺序可以升序或降序。之后,采用自下而上的方法来合并自然排序的子序列或缓冲区。此外,在我们提出的算法中成功整合了一种并行合并技术。 结果:提供了一些实验来确定所提出方法的最佳,最差和平均情况下的运行时行为。仿真统计数据与理论计算结果一致,证明了方法的有效性。 结论:结果表明,我们的方法使用较少的时间以及可接受的内存来对数据序列进行排序,这要考虑到自然顺序行为并适用于现实研究。并行实现可以使该算法在时域高效,并且将是未来的研究课题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号