2014
DOI: 10.1017/s0963548314000649
|View full text |Cite
|
Sign up to set email alerts
|

Towards a Realistic Analysis of Some Popular Sorting Algorithms

Abstract: International audienceWe describe a general framework for realistic analysis of sorting algorithms, and we applyit to the average-case analysis of three basic sorting algorithms (QuickSort, InsertionSort,BubbleSort). Usually the analysis deals with the mean number of key comparisons, buthere we view keys as words produced by the same source, which are compared via theirsymbols in lexicographic order. The ‘realistic’ cost of the algorithm is now the total numberof symbol comparisons performed by the algorithm, … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
18
0

Year Published

2014
2014
2022
2022

Publication Types

Select...
3
1
1

Relationship

0
5

Authors

Journals

citations
Cited by 8 publications
(20 citation statements)
references
References 23 publications
0
18
0
Order By: Relevance
“…We exhibit a striking fact: the constants change but the complexity remains linear. The situation is completely different for sorting algorithms: in [4], we study for instance the QuickSort algorithm, and we show that the mean number of comparisons goes from Θpn log nq to Θpn log 2 nq depending if we consider key or symbol comparisons on a "nice" source. Moreover, there are intermittent sources (of type described in Section 2.4) on which the complexity of QuickSort becomes Θpn β q for some β ą 1.…”
Section: Resultsmentioning
confidence: 99%
See 4 more Smart Citations
“…We exhibit a striking fact: the constants change but the complexity remains linear. The situation is completely different for sorting algorithms: in [4], we study for instance the QuickSort algorithm, and we show that the mean number of comparisons goes from Θpn log nq to Θpn log 2 nq depending if we consider key or symbol comparisons on a "nice" source. Moreover, there are intermittent sources (of type described in Section 2.4) on which the complexity of QuickSort becomes Θpn β q for some β ą 1.…”
Section: Resultsmentioning
confidence: 99%
“…We have conducted such a study in [4] for the mean number of comparisons performed by sorting algorithms: we start with the decision tree used in the classical key comparison model, and we "mix" it with a trie, along the approach described by Seidel [24]. However, for the selection problem, the lower bound is already more intricate in the classical key comparison model, at least for a general rank m, even though there are some results given in [16], for instance.…”
Section: Resultsmentioning
confidence: 99%
See 3 more Smart Citations