SLIDE 1
- 8. Average-Case Analysis of Algorithms
+ Randomized Algorithms
CSE 421, Spring 2017, W.L.Ruzzo 1
8. Average-Case Analysis of Algorithms + Randomized Algorithms 1 - - PowerPoint PPT Presentation
CSE 421, Spring 2017, W.L.Ruzzo 8. Average-Case Analysis of Algorithms + Randomized Algorithms 1 outline and goals 1) Probability tools you've seen allow formal definition of "average case" running time of algorithms 2) Coupled
CSE 421, Spring 2017, W.L.Ruzzo 1
2
3
4
5 (1,5) (4,5)
6 “ T h e m e t h
i n d i c a t
s ”
7 when π is chosen uniformly at random
8
9
10
(Analysis from Sedgewick, Algorithms in C, 3rd ed., 1998, p311-312; Knuth TAOCP v3, 1st ed 1973, p120.) 11
12
13
14
15
16
17
18
19