High Probability Bounds for Treaps (and Quicksort)

ثبت نشده
چکیده

So far, we have argued about the expected work of quick sort and the expected depth of a node in a treap, but is this good enough? Let’s say my company DontCrash is selling you a new air traffic control system and I say that in expectation, no two planes will get closer than 500 meters of each other — would you be satisfied? More relevant to this class, let’s say you wanted to run 1000 jobs on 1000 processors and I told you that in expectation each finishes in an hour — would you be happy? How long might you have to wait? There are two problems with expectations, at least on their own. Firstly, they tell us very little if anything about the variance. And secondly, as mentioned in an earlier lecture, the expectation of a maximum can be much higher than the maximum of expectations. The first has implications in real time systems where we need to get things done in time, and the second in getting efficient parallel algorithms (e.g., span is the max span of the two parallel calls). Fortunately, in many cases we can use expectations to prove much stronger bounds at least when we have independent events. These bounds are what we call high probability bounds, again as mentioned in an earlier lecture. Basically, it says that we guarantee some property with probability very close to 1 — in fact, so close that the difference is only inverse polynomially small in the problem size. To get the high probability bound, we will again use the Chernoff bound that we saw in some previous lecture:

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

ثبت نام

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

منابع مشابه

Quicksort and Sorting Lower Bounds Parallel and Sequential Data

Quicksort is one of the earliest and most famous algorithms. It was invented and analyzed by Tony Hoare around 1960. This was before the big-O notation was used to analyze algorithms. Hoare invented the algorithm while an exchange student at Moscow State University while studying probability under Kolmogorov—one of the most famous researchers in probability theory. The analysis we will cover is...

متن کامل

Quicksort and Sorting Lower Bounds Parallel and Sequential Data Structures and Algorithms , 15 - 210 ( Fall 2012 )

Quicksort is one of the earliest and most famous algorithms. It was invented and analyzed by Tony Hoare around 1960. This was before the big-O notation was used to analyze algorithms. Hoare invented the algorithm while an exchange student at Moscow State University while studying probability under Kolmogorov—one of the most famous researchers in probability theory. The analysis we will cover is...

متن کامل

Verified Tail Bounds for Randomized Programs

The development of type systems and static analyses that automatically bound the complexity of programs is an active area of research. Yet because there are inevitably programs outside the scope of automated techniques, a variety of interactive formal methods have been developed for establishing resource bounds. A particularly difficult and important case is the complexity of randomized program...

متن کامل

Exact maximum coverage probabilities of confidence intervals with increasing bounds for Poisson distribution mean

 ‎A Poisson distribution is well used as a standard model for analyzing count data‎. ‎So the Poisson distribution parameter estimation is widely applied in practice‎. ‎Providing accurate confidence intervals for the discrete distribution parameters is very difficult‎. ‎So far‎, ‎many asymptotic confidence intervals for the mean of Poisson distribution is provided‎. ‎It is known that the coverag...

متن کامل

Randomized Ternary Search Tries

A simple method for maintaining balance in ternary search tries is presented. The new kind of self-balancing ternary search trie, called an r-trie, generalizes the balancing strategy of Aragon and Seidel’s randomized binary search trees (treaps). This means that an r-trie is shaped like a ternary search trie built by inserting the strings in random order. As a result, the time cost of searching...

متن کامل

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


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

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

دوره   شماره 

صفحات  -

تاریخ انتشار 2014