Publikationsansicht

An Optimal Hypercube Algorithm for the All Nearest Smaller Values Problem (2007)

Abstract
Given a sequence of n elements, the All Nearest Smaller Values (ANSV) problem is to find, for each element in the sequence, the nearest element to the left (right) that is smaller, or to report that no such element exists. Berkman, Schieber, and Vishkin [4] give an ANSV algorithm that runs in O(lg n) time on an (n = lg n)-processor CREW PRAM. In this paper, we present an O(lgn)-time n-processor normal hypercube algorithm for the ANSV problem. Furthermore, we prove that any normal hypercube algorithm requires \Omega\Gamma n) processors to solve the ANSV problem in O(lg n) time. We use our ANSV algorithm to give the first O(lgn)-time n-processor normal hypercube algorithms for triangulating a monotone polygon and for constructing a Cartesian tree. 1

Details der Publikation
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=?doi=10.1.1.30.6447
Quelle http://www.cs.utexas.edu/users/plaxton/html/../ps/1994/spdp.ps
Mitarbeiter CiteSeerX
Archiv CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Typ text
Sprache Englisch
Verknüpfungen 10.1.1.30.2802, 10.1.1.55.5669, 10.1.1.43.2583