Shell sorting algorithm: review and implementation example using Rcpp
收藏DataCite Commons2026-03-25 更新2024-07-25 收录
下载链接:
https://figshare.com/articles/dataset/Shell_sorting_algorithm_review_and_implementation_example_using_Rcpp/3978090
下载链接
链接失效反馈官方服务:
资源简介:
This review resumes the most famous sorting algorithm: the shell Sort. This method starts by sorting pairs of elements far apart from each other, then progressively reducing the gap between elements to be compared.We used Rcpp to impliment the code in R and we show how the running time of Shell sort is heavily dependent on the gap sequence it use.
本综述回顾了最知名的排序算法:希尔排序(Shell Sort)。该算法首先对间距较大的元素对进行排序,随后逐步缩小待比较元素之间的间隔。我们采用Rcpp在R语言中实现了该算法的代码,并展示了希尔排序的运行时间在很大程度上依赖于其所使用的间隔序列。
提供机构:
figshare
创建时间:
2016-10-02



