English

The Quest for Optimal Sorting Networks: Efficient Generation of Two-Layer Prefixes

Data Structures and Algorithms 2016-11-30 v2 Discrete Mathematics

Abstract

Previous work identifying depth-optimal nn-channel sorting networks for 9n169\leq n \leq 16 is based on exploiting symmetries of the first two layers. However, the naive generate-and-test approach typically applied does not scale. This paper revisits the problem of generating two-layer prefixes modulo symmetries. An improved notion of symmetry is provided and a novel technique based on regular languages and graph isomorphism is shown to generate the set of non-symmetric representations. An empirical evaluation demonstrates that the new method outperforms the generate-and-test approach by orders of magnitude and easily scales until n=40n=40.

Keywords

Cite

@article{arxiv.1404.0948,
  title  = {The Quest for Optimal Sorting Networks: Efficient Generation of Two-Layer Prefixes},
  author = {Michael Codish and Luis Cruz-Filipe and Peter Schneider-Kamp},
  journal= {arXiv preprint arXiv:1404.0948},
  year   = {2016}
}
R2 v1 2026-06-22T03:42:21.100Z