Gå til søgefeltetSpring over til navigationSpring til hovedindhold

Optimal-depth sorting networks

  • Daniel Bundala
    ,
  • Michael Codish
    ,
  • Luís Cruz-Filipe
    ,
  • Peter Schneider-Kamp
    ,
  • Jakub Závodný
  • University of Oxford
    ,
  • Ben-Gurion University of the Negev
    ,
  • Syddansk Universitet
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Forskning
Peer-review

Open Access

Resume

We solve a 40-year-old open problem on depth optimality of sorting networks. In 1973, Donald E. Knuth detailed sorting networks of the smallest depth known for n≤16 inputs, quoting optimality for n≤8 (Volume 3 of “The Art of Computer Programming”). In 1989, Parberry proved optimality of networks with 9≤n≤10 inputs. We present a general technique for obtaining such results, proving optimality of the remaining open cases of 11≤n≤16 inputs. Exploiting symmetry, we construct a small set Rn of two-layer networks such that: if there is a depth-k sorting network on n inputs, then there is one whose first layers are in Rn. For each network in Rn, we construct a propositional formula whose satisfiability is necessary for the existence of a depth-k sorting network. Using an off-the-shelf SAT solver we prove optimality of the sorting networks listed by Knuth. For n≤10 inputs, our algorithm is orders of magnitude faster than prior ones.

Publikation information

Produktionstype

Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Forskning
Peer-review

Originalsprog

Engelsk

Sider fra-til (Antal sider)

Sider 185-204 (20 sider)

Tidsskrift (Bind, Nummer)

Journal of Computer and System Sciences (Bind 84)

Publikationsmilepæle

  • Udgivet - 2017

Publikationsstatus

Udgivet - 2017

ISSN

0022-0000

Publikations IDer

  • Scopus: 84995592246

Metrikker

PlumX, åbner i en ny fane

Omtaler
1
Hentninger
4
Antal citationer
12