Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

Finding the extrema of a distributed multiset

P. Alimonti1, P. Flocchini2 and N. Santoro3

(1)  Dip. Informatica Sistemistica, Università di Roma ldquola Sapienzardquo, Italy
(2)  Dip. di Scienze dell'informazione, Università di Milano, Italy
(3)  School of Computer Science, Carleton University, Canada
Abstract
We consider the problem of finding the extrema of a distributed multiset in a ring; that is, of determining the minimum and the maximum values, x min and x max, of a multiset X={x 0, x2, ..., x n}-1}, whose elements are drawn from a totally ordered universe U and stored at the n entities of a ring network.
This problem is unsolvable if the ring size is not known to the entities, and has complexity theta(n 2) in the case of asynchronous rings of known size.
We show that, in synchronous rings of known size, this problem can always be solved in O((c+ log n) · n) bits and O(n · c · x 1/c) time for any integer c> 0, where x=Max{¦xmin¦, ¦xmax¦}. The previous solutions required O(n 2) bits and the same amount of time.
Based on these results, we also present a bit optimal solution to the problem of finding the multiplicity of the extrema.
Work partially supported by: ESPRIT III, Basic Research Action Program ALCOM 2; Ministero dell'Università e della Ricerca Scientifica e Tecnologica (Italy), Project ldquoAlgoritmi, Modelli di Calcolo e Strutture Informativerdquo; Consiglio Nazionale delle Ricerche (Italy); and Natural Sciences and Engineering Research Council (Canada), under grant A241 5.

Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.111 • Server: MPWEB26
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)