Joint Size and Depth Optimization of Sorting Networks
Abstract
Sorting networks are oblivious sorting algorithms with many interesting theoretical properties and practical applications. One of the related classical challenges is the search of optimal networks respect to size (number of comparators) of depth (number of layers). However, up to our knowledge, the joint size-depth optimality of small sorting networks has not been addressed before. This paper presents size-depth optimality results for networks up to channels. Our results show that there are sorting networks for inputs that are optimal in both size and depth, but this is not the case for and channels. For inputs, we were able to proof that optimal-depth optimal sorting networks with layers require comparators while optimal-size networks with comparators need layers. For inputs we show that networks with or layers require at least comparators (the best known upper bound for the minimal size). And for networks with inputs and layers we need comparators, while for layers the best known size is .
Keywords
Cite
@article{arxiv.1806.00305,
title = {Joint Size and Depth Optimization of Sorting Networks},
author = {José A. R. Fonollosa},
journal= {arXiv preprint arXiv:1806.00305},
year = {2018}
}