Skip to main content
Log in

Abstract

The purpose of this paper is to consider a special kind of sorting problem in which a sequencea 1 ...a n is to be rearranged into an optimal order by interchanging pairs of adjacent elements, where certain pairs of elements are not allowed to commute with each other. Section 1 presents an informal example intended to clarify the nature of the problem, while Secs. 2 and 3 give some formal definitions and characterizations. Section 4 shows that the problem we are considering is equivalent to finding the lexicographically smallest topological sorting in a partial order.

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.

Institutional subscriptions

Similar content being viewed by others

References

  1. Anatoly V. Anisimov, “Inhomogeneous Insertion Sorting,” in preparation.

  2. Donald E. Knuth, “The Art of Computer Programming,” Vol. 1,Fundamental Algorithms (Addison-Wesley, Reading, Massachusetts, 1969).

    Google Scholar 

  3. Donald E. Knuth, “The Art of Computer Programming,” Vol. 3,Sorting and Searching (Addison-Wesley, Reading, Massachusetts, 1973).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

The work of this author was performed while visiting Stanford University, with the support of the International Research and Exchanges Board (IREX).

Rights and permissions

Reprints and permissions

About this article

Cite this article

Anisimov, A.V., Knuth, D.E. Inhomogeneous sorting. International Journal of Computer and Information Sciences 8, 255–260 (1979). https://doi.org/10.1007/BF00993053

Download citation

  • Received:

  • Revised:

  • Issue Date:

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

Key words

Navigation