Quicksort is the preferred in-place sorting algorithm in many contexts, since its average computing time on uniformly distributed inputs is ฮ(N log N), and it is in fact faster than most other sorting algorithms on most inputs. Its drawback is that its worst-case time bound is ฮ(N 2 . Previous attem
Introspective sorting and selection revisited
โ Scribed by John D. Valois
- Publisher
- John Wiley and Sons
- Year
- 2000
- Tongue
- English
- Weight
- 221 KB
- Volume
- 30
- Category
- Article
- ISSN
- 0038-0644
No coin nor oath required. For personal study only.
โฆ Synopsis
We describe two improvements to introspective sorting and selection algorithms: a simple rule for finegrained introspection that detects potential worst-case performance after only a small constant number of partitioning steps, and the use of remedial randomization as an intervention strategy in order to reduce the performance penalty for false positives. We present experimental results showing that these techniques provide significant improvements in the running time for worst-case and other troublesome inputs, without sacrificing performance on well-behaved inputs.
๐ SIMILAR VOLUMES
We consider the problems of selection, routing, and sorting on an n-star graph (with n! nodes), an interconnection network which has been proven to possess many special properties. We identify a tree like subgraph (which we call a "(k, 1, k) chain network") of the star graph which enables us to desi
Phenylthiocarbamide (PTC) taste thresholds were determined in 100 nuclear families using the complete sorting test. Segregation analysis using the mixed model suggested that the variability in PTC thresholds is controlled by a major locus with incomplete dominance as well as by a multifactorial comp