Abstract
In 1983, M. Ajtai, J. Komlos, and E. Szemeredi described a sorting network that requires C * log n steps to sort n keys where C is a large constant—scholars usually refer to these sorting networks as the AKS networks [Ajtai, Komlos, Szemeredi (1983) Combinatorica 3:1–1; Ajtai, Komlos, Szemeredi (1983) Proceedings of the ACM symposium on theory of computing pp 1–9.]. The AKS sorting network has O(log n) layers with a complete binary tree on each layer with O(n) nodes. Each node of each tree contains one (λ, σ, ε)-separator circuit. The separator in each node will tend to move low strangers and high strangers to their designated layers. The keys circulate in the different layers of the tree until they eventually collect in the last layer which will complete the sorting. No one seems to know the exact value of the complexity constant(C) of the AKS sorting algorithm. But many believe it is in the hundreds at least. If we assume that C = 87, then an AKS network is faster than a merge-sorting network only when the number of keys is greater than 1.2 * 1052. Thus, the ASK sorting network, despite being theoretically optimal, is impractical. The execution time of many parallel algorithms grows logarithmically or poly-logarithmically. Thus, complexity constants become important here.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ajtai M, Komlos J, Szemeredi E (1983) Sorting in c log n steps. Combinatorica 3:1–19
Ajtai M, Komlos J, Szemeredi E (1983) An O(n log n) sorting network. In: Proceedings of the ACM symposium on theory of computing, pp 1–9
Akl SG (1997) Parallel computation: models and methods. Prentice-Hall, Upper Saddle River
Al-Haj Baddar S, Batcher KE (2009) Finding faster sorting networks using sortnet. VDM Publishing House Ltd., Germany
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2011 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Al-Haj Baddar, S.W., Batcher, K.E. (2011). The AKS Sorting Network. In: Designing Sorting Networks. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-1851-1_11
Download citation
DOI: https://doi.org/10.1007/978-1-4614-1851-1_11
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-1850-4
Online ISBN: 978-1-4614-1851-1
eBook Packages: Computer ScienceComputer Science (R0)