SELECTION AND SORTING IN TOTALLY MONOTONE ARRAYS

被引:4
|
作者
KRAVETS, D
PARK, JK
机构
[1] Laboratory for Computer Science, Massachusetts Institute of Technology, Cambridge, 02139, MA
来源
MATHEMATICAL SYSTEMS THEORY | 1991年 / 24卷 / 03期
关键词
D O I
10.1007/BF02090398
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A two-dimensional array A = {a[i,j]} is called totally monotone if, for all i1 < i2 and j1 < j2, a[i1, j1] < a[i1, j2] implies a[i2, j1] < a[i2, j2]. Totally monotone arrays were introduced in 1987 by Aggarwal, Klawe, Moran, Shor, and Wilber, who showed that several problems in computational geometry and VLSI river routing could be reduced to the problem of finding a maximum entry in each row of a totally monotone array. In this paper we consider several selection and sorting problems involving totally monotone arrays and give a number of applications of solutions for these problems. In particular, we obtain the following results for an m x n totally monotone array A: 1. The k largest (or k smallest) entries in each row of A can be computed in O(k(m + n)) time. This result allows us to determine the k farthest (or k nearest) neighbors of each vertex of a convex n-gon in O(kn) time. 2. Provided the transpose of A is also totally monotone, the k largest (or k smallest) entries overall in A can be computed in O(m + n + k lg(mn/k)) time. This result allows us to find the k farthest (or k nearest) pairs of vertices from a convex n-gon in O(n + k lg(n2/k)) time. 3. The rows of A can be sorted in O(mn) time when m greater-than-or-equal-to n and in O(mn(1 + lg(n/m))) time when m < n. This result allows us to solve the following problem in O(n2 lg l) time: given l convex polygons with a total of n vertices, for all vertices upsilon, sort the other vertices by distance from upsilon. 4. Sorting all the entries of A requires OMEGA(mn lg m) time.
引用
收藏
页码:201 / 220
页数:20
相关论文
共 50 条
  • [31] Particle sorting by Paramecium cilia arrays
    Mayne, Richard
    Whiting, James G. H.
    Wheway, Gabrielle
    Melhuish, Chris
    Adamatzky, Andrew
    BIOSYSTEMS, 2017, 156 : 46 - 52
  • [32] Searching monotone multi-dimensional arrays
    Cheng, Yongxi
    Sun, Xiaoming
    Yin, Yiqun Lisa
    DISCRETE MATHEMATICS, 2008, 308 (11) : 2213 - 2221
  • [33] Learning monotone preferences using a majority rule sorting model
    Sobrie, Olivier
    Mousseau, Vincent
    Pirlot, Marc
    INTERNATIONAL TRANSACTIONS IN OPERATIONAL RESEARCH, 2019, 26 (05) : 1786 - 1809
  • [34] Norm estimates for the inverses of matrices of monotone type and totally positive matrices
    Yu. S. Volkov
    V. L. Miroshnichenko
    Siberian Mathematical Journal, 2009, 50 : 982 - 987
  • [35] Norm estimates for the inverses of matrices of monotone type and totally positive matrices
    Volkov, Yu. S.
    Miroshnichenko, V. L.
    SIBERIAN MATHEMATICAL JOURNAL, 2009, 50 (06) : 982 - 987
  • [36] Sorting and Selection with Imprecise Comparisons
    Ajtai, Miklos
    Feldman, Vitaly
    Hassidim, Avinatan
    Nelson, Jelani
    AUTOMATA, LANGUAGES AND PROGRAMMING, PT I, 2009, 5555 : 37 - +
  • [37] SELECTION AND SORTING WITH LIMITED STORAGE
    MUNRO, JI
    PATERSON, MS
    THEORETICAL COMPUTER SCIENCE, 1980, 12 (03) : 315 - 323
  • [38] Introspective sorting and selection algorithms
    Musser, David R.
    Software - Practice and Experience, 1997, 27 (08): : 983 - 993
  • [39] Sorting and selection on dynamic data
    Anagnostopoulos, Aris
    Kumar, Ravi
    Mahdian, Mohammad
    Upfal, Eli
    THEORETICAL COMPUTER SCIENCE, 2011, 412 (24) : 2564 - 2576
  • [40] Introspective sorting and selection algorithms
    Musser, DR
    SOFTWARE-PRACTICE & EXPERIENCE, 1997, 27 (08): : 983 - 993