Comparison-sorting and selecting m totally monotone matrices

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

4 Scopus citations

Abstract

An m X n matrix A is called totally monotone if for all i1 < i2 and J1 < J2, A[i1, j1] > A[i2, J2] implies A[i2, J1] > A[i2, j2]. We consider the complexity of comparison-based selection and sorting algorithms in such matrices. Although our selection algorithm counts only comparisons its advantage on all previous work is that it can also handle selection of elements of different (and arbitrary) ranks in different rows (or even selection of elements of several ranks in each row), in time which is slightly better than that of the best known algorithm for selecting elements of the same rank in each row. We also determine the decision tree complexity of sorting each row of a totally monotone matrix up to a factor of at most log n by proving a quadratic lower bound and by slightly improving the upper bound. No nontrivial lower bound was previously known for this problem. In particular for the case m = n we prove a tight Ω(n2) lower bound. This bound holds for any decision-tree algorithm, and not only for a comparison-based algorithm. The lower bound is proved by an exact characterization of the bitonic totally monotone matrices, whereas our new algorithms depend on techniques from parallel comparison algorithms.

Original languageEnglish
Title of host publicationProceedings of the 3rd Annual ACM-SIAM Symposium on Discrete Algorithms. SODA 1992
PublisherAssociation for Computing Machinery
Pages403-408
Number of pages6
ISBN (Electronic)089791466X
StatePublished - 1 Sep 1992
Event3rd Annual ACM-SIAM Symposium on Discrete Algorithms. SODA 1992 - Orlando, United States
Duration: 27 Jan 199229 Jan 1992

Publication series

NameProceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms
VolumePart F129721

Conference

Conference3rd Annual ACM-SIAM Symposium on Discrete Algorithms. SODA 1992
Country/TerritoryUnited States
CityOrlando
Period27/01/9229/01/92

Funding

FundersFunder number
U. S. A.-Israeli BSFCA 94301
Department of Computer Science
Stanford UniversityONR NOO014-88-K-0166, CA 94305-2140

    Fingerprint

    Dive into the research topics of 'Comparison-sorting and selecting m totally monotone matrices'. Together they form a unique fingerprint.

    Cite this