Skip to main content
Log in

Average time behavior of distributive sorting algorithms

Mittleres Zeitverhalten von Fachsortier-Algorithmen

  • Published:
Computing Aims and scope Submit manuscript

Abstract

In this paper we investigate the expected complexityE(C) of distributive (“bucket”) sorting algorithms on a sampleX 1, ...,X n drawn from a densityf onR 1. Assuming constant time bucket membership determination and assuming the use of an average timeg(n) algorithm for subsequent sorting within each bucket (whereg is convex,g(n)/n↑∞,g(n)/n 2 is nonincreasing andg is independent off), the following is shown:

  1. 1)

    Iff has compact support, then ∫g(f(x))dx<∞ if and only ifE(C)=0(n).

  2. 2)

    Iff does not have compact support, then\(E(C)/n\xrightarrow{n}\infty \).

No additional restrictions are put onf.

Zusammenfassung

Wir untersuchen die mittlere KomplexitätE(C) von Fachsortier-Algorithmen, die auf eine StichprobeX 1, ...,X n mit der Verteilungsdichtef aufR 1 angewendet werden. Wir nehmen an, daß die Zeit zur Bestimmung des Sortierfachs konstant ist, und daß für die Sortierung innerhalb jedes Fachs ein Algorithmus mit dem mittleren Zeitbedarfg(n) zur Verfügung steht. Dabei istg konvex,g(n)/n↑∞,g(n)/n 2 nichtsteigend undg unabhängig vonf. Wir zeigen:

  1. 1)

    Wennf kompakten Träger hat, dann gilt ∫g(f(x))dx<∞ genau dann, wennE(C)=0(n).

  2. 2)

    Wennf keinen kompakten Träger hat, dann gilt\(E(C)/n\xrightarrow{n}\infty \).

Überf benötigen wir keinerlei weitere Voraussetzungen.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Baase, S.: Computer algorithms: Introduction to design and analysis. Reading, Mass.: Addison-Wesley 1978.

    Google Scholar 

  2. Dobosiewicz, W.: Sorting by distributive partitioning. Information Processing Letters7, 1–6 (1978).

    Article  Google Scholar 

  3. Graham, R. L.: An efficient algorithm for determining the convex hull of a planar set. Information Processing Letters1, 132–133 (1972).

    Article  Google Scholar 

  4. Knuth, D. E.: The art of computer programming 3. Reading, Mass.: Addison-Wesley 1973.

    Google Scholar 

  5. Royden, H. L.: Real analysis. Toronto: Macmillan 1968.

    Google Scholar 

  6. Slud, E. V.: Distribution inequalities for the binomial law. The Annals of Probability5, 404–412 (1977).

    Google Scholar 

  7. Stein, E. M.: Singular integrals and differentiability properties of functions. Princeton, N. J.: Princeton University Press 1970.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Devroye, L., Klincsek, T. Average time behavior of distributive sorting algorithms. Computing 26, 1–7 (1981). https://doi.org/10.1007/BF02243418

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02243418

Key words and phrases

CR Categories

Navigation