Abstract
Let us be given an unknown monotone discrete function f with domain and range of size m and n, respectively, where m ≤ n. A threshold query has the form ” f(x) ≥ y?” for a pair (x, y).
we give an optimal EREW PRAM algorithm that finds f in O(log n) time using O(n) threshold queries and arithmetic operations, in such a way that simultaneous queries are independent, i.e. they call mutually different x and y. Our algorithm composes two distributed binary search strategies by accelerated cascading.
The result can be applied to certain segmentation problems, arising e.g. in digital image processing.
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
M.J. Atallah, S.R. Kosaraju: An efficient parallel algorithm for the row minima of a totally monotone matrix, J. of Algorithms 13 (1992), 394–413
P.G.Bradford, R.Fleischer, M.Smid: A polylog-time and O(n√log n)-work parallel algorithm for finding the row minima in totally monotone matrices, 1995, submitted
P.Damaschke: Line segmentation of digital curves in parallel, 12th Symposium on Theoretical Aspects of Computer Science STACS'95, Munich 1995, LNCS 900, Springer 1995, 539–549
P.Damaschke: An optimal parallel algorithm for digital curve segmentation using Hough polygons and monotone function search, 3rd European Symposium on Algorithms ESA '95, Corfu (Greece) 1995
F. Gao, L.J. Guibas, D.G. Kirkpatrick, W.T. Laaser, J. Saxe: Finding extrema with unary predicates, Algorithmica 9 (1993), 591–600
R. Hassin, N. Megiddo: An optimal algorithm for finding all the jumps of a monotone step-function, J. of Algorithms 6 (1985), 265–274
R.Raman, U.Vishkin: Optimal randomized parallel algorithms for computing the row minima of a totally monotone matrix, 5th ACM-SIAM Symposium on Discrete Algorithms SODA '94, 613–621
R.Sarnath, X.He: Efficient parallel algorithms for selection and searching in sorted matrices, 6th Int. Parallel Processing Symposium IPPS'92, IEEE Press 1992, 108–111
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1995 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Damaschke, P. (1995). Searching for a monotone function by independent threshold queries. In: Staples, J., Eades, P., Katoh, N., Moffat, A. (eds) Algorithms and Computations. ISAAC 1995. Lecture Notes in Computer Science, vol 1004. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0015433
Download citation
DOI: https://doi.org/10.1007/BFb0015433
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-60573-7
Online ISBN: 978-3-540-47766-2
eBook Packages: Springer Book Archive