Skip to main content

2015 | OriginalPaper | Buchkapitel

Compact Encodings and Indexes for the Nearest Larger Neighbor Problem

verfasst von : Seungbum Jo, Rajeev Raman, Srinivasa Rao Satti

Erschienen in: WALCOM: Algorithms and Computation

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

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

L

1

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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Metadaten
Titel
Compact Encodings and Indexes for the Nearest Larger Neighbor Problem
verfasst von
Seungbum Jo
Rajeev Raman
Srinivasa Rao Satti
Copyright-Jahr
2015
Verlag
Springer International Publishing
DOI
https://doi.org/10.1007/978-3-319-15612-5_6