Given string S[1⋯N] and integer k, the suffix selection problem is to determine the kth lexicographically smallest amongst the suffixes S[i ⋯ N], 1 ≤ i ≤ N. We study the suffix selection problem in the cache-aware model that captures two-level memory inherent in computing systems, for a cache of limited size M and block size B. The complexity of interest is the number of block transfers. We present an optimal suffix selection algorithm in the cache-aware model, requiring θ (N/B) block transfers, for any string S over an unbounded alphabet (where characters can only be compared), under the common tall-cache assumption (i.e. M = Ω (B1+∈), where ∈ < 1). Our algorithm beats the bottleneck bound for permuting an input array to the desired output array, which holds for nearly any nontrivial problem in hierarchical memory models. © G. Franceschini, R. Grossi, and S. Muthukrishnan.

Optimal Cache-Aware Suffix Selection / Franceschini, Gianni; Roberto, Grossi; S., Muthukrishnan. - ELETTRONICO. - 3:(2009), pp. 457-468. (Intervento presentato al convegno STACS tenutosi a Freiburg; Germany nel February 26-28) [10.4230/LIPIcs.STACS.2009.1845].

Optimal Cache-Aware Suffix Selection

FRANCESCHINI, GIANNI;
2009

Abstract

Given string S[1⋯N] and integer k, the suffix selection problem is to determine the kth lexicographically smallest amongst the suffixes S[i ⋯ N], 1 ≤ i ≤ N. We study the suffix selection problem in the cache-aware model that captures two-level memory inherent in computing systems, for a cache of limited size M and block size B. The complexity of interest is the number of block transfers. We present an optimal suffix selection algorithm in the cache-aware model, requiring θ (N/B) block transfers, for any string S over an unbounded alphabet (where characters can only be compared), under the common tall-cache assumption (i.e. M = Ω (B1+∈), where ∈ < 1). Our algorithm beats the bottleneck bound for permuting an input array to the desired output array, which holds for nearly any nontrivial problem in hierarchical memory models. © G. Franceschini, R. Grossi, and S. Muthukrishnan.
2009
STACS
Block sizes; Block transfer; Computing system
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Optimal Cache-Aware Suffix Selection / Franceschini, Gianni; Roberto, Grossi; S., Muthukrishnan. - ELETTRONICO. - 3:(2009), pp. 457-468. (Intervento presentato al convegno STACS tenutosi a Freiburg; Germany nel February 26-28) [10.4230/LIPIcs.STACS.2009.1845].
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/58694
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? ND
social impact