Skip to main content

Sorting Networks on Restricted Topologies

  • Conference paper
  • First Online:
SOFSEM 2019: Theory and Practice of Computer Science (SOFSEM 2019)

Abstract

The sorting number of a graph with n vertices is the minimum depth of a sorting network with n inputs and n outputs that uses only the edges of the graph to perform comparisons. Many known results on sorting networks can be stated in terms of sorting numbers of different classes of graphs. In this paper we show the following general results about the sorting number of graphs.

  1. 1.

    Any n-vertex graph that contains a simple path of length d has a sorting network of depth \(O(n \log (n/d))\).

  2. 2.

    Any n-vertex graph with maximal degree \(\varDelta \) has a sorting network of depth \(O(\varDelta n)\).

We also provide several results relating the sorting number of a graph with its routing number, size of its maximum matching, and other well known graph properties. Additionally, we give some new bounds on the sorting number for some typical graphs.

The first author was partially supported by DTIC Contract FA8075-14-D-0002/0007.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    A mapping \(f :V \rightarrow V\) is an automorphism of \(G = (V,E)\) if for all \(v_1,v_2 \in V\) it holds that \((v_1,v_2) \in E \Leftrightarrow (f(v_1),f(v_2) ) \in E\).

References

  1. Ajtai, M., Komlós, J., Szemerédi, E.: An \(O(n log n)\) sorting network. In: Proceedings of the Fifteenth Annual ACM Symposium on Theory of Computing, pp. 1–9. ACM (1983)

    Google Scholar 

  2. Alon, N., Chung, F.R., Graham, R.L.: Routing permutations on graphs via matchings. SIAM J. Discrete Math. 7(3), 513–530 (1994)

    Article  MathSciNet  Google Scholar 

  3. Angel, O., Shinkar, I.: A tight upper bound on acquaintance time of graphs. Graphs Comb. 32(5), 1667–1673 (2016). arXiv:1307.6029

    Article  MathSciNet  Google Scholar 

  4. Babai, L., Szegedy, M.: Local expansion of symmetrical graphs. Comb. Probab. Comput. 1(01), 1–11 (1992)

    Article  MathSciNet  Google Scholar 

  5. Batcher, K.E.: Sorting networks and their applications. In: Proceedings of the 30 April–2 May 1968, Spring Joint Computer Conference, pp. 307–314. ACM (1968)

    Google Scholar 

  6. Benjamini, I., Shinkar, I., Tsur, G.: Acquaintance time of a graph. SIAM J. Discrete Math. 28(2), 767–785 (2014)

    Article  MathSciNet  Google Scholar 

  7. Knuth, D.E.: The Art of Computer Programming: Sorting and Searching, vol. 3. Addison Wesley Longman Publishing Co., Inc., Redwood City (1998)

    MATH  Google Scholar 

  8. Kunde, M.: Optimal sorting on multi-dimensionally mesh-connected computers. In: Brandenburg, F.J., Vidal-Naquet, G., Wirsing, M. (eds.) STACS 1987. LNCS, vol. 247, pp. 408–419. Springer, Heidelberg (1987). https://doi.org/10.1007/BFb0039623

    Chapter  Google Scholar 

  9. Leighton, T., Plaxton, C.G.: Hypercubic sorting networks. SIAM J. Comput. 27(1), 1–47 (1998)

    Article  MathSciNet  Google Scholar 

  10. Plaxton, C.G., Suel, T.: A super-logarithmic lower bound for hypercubic sorting networks. In: Abiteboul, S., Shamir, E. (eds.) ICALP 1994. LNCS, vol. 820, pp. 618–629. Springer, Heidelberg (1994). https://doi.org/10.1007/3-540-58201-0_103

    Chapter  Google Scholar 

  11. Schnorr, C.P., Shamir, A.: An optimal sorting algorithm for mesh connected computers. In: Proceedings of the Eighteenth Annual ACM Symposium on Theory of Computing, pp. 255–263. ACM (1986)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Indranil Banerjee .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Banerjee, I., Richards, D., Shinkar, I. (2019). Sorting Networks on Restricted Topologies. In: Catania, B., Královič, R., Nawrocki, J., Pighizzini, G. (eds) SOFSEM 2019: Theory and Practice of Computer Science. SOFSEM 2019. Lecture Notes in Computer Science(), vol 11376. Springer, Cham. https://doi.org/10.1007/978-3-030-10801-4_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-10801-4_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-10800-7

  • Online ISBN: 978-3-030-10801-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics