University of Leicester
Browse
- No file added yet -

Compact Encodings and Indexes for the Nearest Larger Neighbor Problem

Download (385.3 kB)
conference contribution
posted on 2015-05-07, 13:05 authored by S. Jo, Rajeev Raman, S. R. Satti
Given a d-dimensional array, for any integer d > 0, the nearest larger value (NLV) query returns the position of the element which is closest, in L1 distance, to the query position, and is larger than the element at the query position. We consider the problem of preprocessing a given array, to construct a data structure that can answer NLV queries efficiently. In the 2-D case, given an n × n array A, we give an asymptotically optimal O(n 2 )-bit encoding that answers NLV queries in O(1) time. When A is a binary array, we describe a simpler O(n 2 )-bit encoding that also supports NLV queries in O(1) time. Using this, we obtain an index of size O(n 2 /c) bits that supports NLV queries in O(c) time, for any parameter c, where 1 ≤ c ≤ n, matching the lower bound. For the 1-D case we consider the nearest larger right value (NLRV) problem where the nearest larger value to the right is sought. For an array of length n, we obtain an index that takes O((n/c) log c) bits, and supports NLRV queries in O(c) time, for any any parameter c, where 1 ≤ c ≤ n, improving the earlier results of Fischer et al. and Jayapaul et al.

History

Citation

Lecture Notes in Computer Science, 2015, 8973, pp. 53-64

Author affiliation

/Organisation/COLLEGE OF SCIENCE AND ENGINEERING/Department of Computer Science

Source

Algorithms and Computation - 9th International Workshop, WALCOM 2015. Dhaka, Bangladesh

Version

  • AM (Accepted Manuscript)

Published in

Lecture Notes in Computer Science

Publisher

Springer Verlag (Germany)

issn

0302-9743

isbn

978-3-319-15611-8;978-3-319-15612-5

Copyright date

1007

Available date

2016-02-25

Publisher version

http://link.springer.com/chapter/10.1007/978-3-319-15612-5_6

Temporal coverage: start date

2015-02-26

Temporal coverage: end date

2015-02-28

Language

en

Usage metrics

    University of Leicester Publications

    Categories

    No categories selected

    Keywords

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC