首页> 外文期刊>software: practice and experience >A selection algorithm with a practical upper bound on expected number of comparisons
【24h】

A selection algorithm with a practical upper bound on expected number of comparisons

机译:A selection algorithm with a practical upper bound on expected number of comparisons

获取原文
       

摘要

AbstractA selection algorithm to find the Irth smallest element of a elements is presented. The algorithm mainly consists of the partition procedure and an improved method to choose a partitioning element. The algorithm estimates the partitioning element from a small sample so that the icth element is contained in the smaller partition between two partitions resulting from partitioning. The partitioning element is determined by using estimation of the cumulative frequency distribution in the theory of non‐parametric statistics. The expected number of comparisons is found to ben+ min(k, n‐k) +O(n2/3) through experimental tests where the sample size is approximatelyn2/3. The experimental results show that the performance of the algorithm is improved, compared to the two known selection algorithms, particularly when the selection index is near to the med

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号