SAT encodings for sorting networks, single-exception sorting networks and $ε-$halvers

José A. R. Fonollosa
7/14/2018
cs.DS

Official code: jarfo/sort (0 stars, Python, last commit 2026-05-30).

Abstract

Sorting networks are oblivious sorting algorithms with many practical applications and rich theoretical properties. Propositional encodings of sorting networks are a key tool for proving concrete bounds on the minimum number of comparators or depth (number of parallel steps) of sorting networks.

Show full abstract

In this paper, we present new SAT encodings that reduce the number of variables and clauses of the sorting constraint of optimality problems. Moreover, the proposed SAT encodings can be applied to a broader class of problems, such as the search of optimal single-exception sorting networks and $ε-$halvers. We obtain optimality results for single-exception sorting networks on $n \le 10$ inputs.

View on arXivView PDF

Code Implementations(1)

jarfo/sortOfficial100%
00PythonJul 14, 20186 months ago

Similar Papers

Cite this paper

@article{fonollosa2018encodings,
  title  = {SAT encodings for sorting networks, single-exception sorting networks and $ε-$halvers},
  author = {José A. R. Fonollosa},
  year   = {2018},
  eprint = {1807.05377},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.05377}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.05377.svg)](https://codeofpaper.com/paper/1807.05377)

Discussion