Median Selection Requires ( 2 + ) n Comparisons

نویسندگان

  • Dorit Dor
  • Uri Zwick
چکیده

Improving a long standing result of Bent and John, we obtain a (2+ )n lower bound (for some fixed > 0) on the number of comparisons required, in the worst case, for selecting the median of n elements. The new lower bound is obtained using a weight function that allows us to combine leaf counting and adversary arguments.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Selection Algorithms

Given a set X containing n distinct elements, and given a number 1 i n, we would like to nd the element whose rank in X is exactly i, i.e., the element of X larger than exactly i 1 elements of X and smaller than the other n i elements of X. In particular we are interested cases where i = n for some 0 < < 1. The median of X is the dn=2e-th element. Improving a long standing result of Sch onhage...

متن کامل

On Lower Bounds for Selecting the Median

We present a reformulation of the 2n+o(n) lower bound of Bent and John for the number of comparisons needed for selecting the median of n elements. Our reformulation uses a weight function. Apart from giving a more intuitive proof for the lower bound, the new formulation opens up possibilities for improving it. We use the new formulation to show that any pair-forming median nding algorithm, i.e...

متن کامل

Randomized selection in n+C+o(n) comparisons

In this paper we present a randomized selection algorithm that with high probability 1 − 1/nρ, for any constant ρ > 1 requires n + C + o(n) comparisons to determine the C-th order statitistic of n keys thus matching a corresponding lower bound on the average number of comparisons required. Low order terms in the number of comparisons performed can also be reduced by extending the algorithm of F...

متن کامل

Selecting the Median and Two Quartiles in a Set of Numbers

The median, the 0·25-percentile and the 0·75-percentile are three of the moat relevant ranks in data analysis. MED2Q is a new in situ algorithm to solve this problem. It asymptotically performs an average of 2 n + o ( n ) comparisons when n numbers are given as input thus becoming the asymptotically fastest algorithm for this problem reported to date. The performance of MED2Q is compared with t...

متن کامل

The Comparison of Four Economical Selection Indices for Improving the Performance of Kermani Sheep under Rural Production System

Developing effective selection programs for improving the performance of livestock requires taking the economical selection indices into account. The present study was performed for comparing four selection indices developed in Kermani sheep through simulated data. The relative importance of traits was determined based on the estimated economic values and consequently, the most beneficial trait...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996