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.
|
 |
Cache-Oblivious Comparison-Based Algorithms on Multisets
| |
|
Cache-Oblivious Comparison-Based Algorithms on Multisets
Arash Farzan1 , Paolo Ferragina2 , Gianni Franceschini2 and J. Ian Munro1 
| (1) |
School of Computer Science, University of Waterloo, |
| (2) |
Department of Computer Science, University of Pisa, |
Abstract
We study three comparison-based problems related to multisets in the cache-oblivious model: Duplicate elimination, multisorting
and finding the most frequent element (the mode). We are interested in minimizing the cache complexity (or number of cache
misses) of algorithms for these problems in the context under which cache size and block size are unknown. We give algorithms
with cache complexities within a constant factor of the optimal for all the problems. In the case of determining the mode,
the optimal algorithm is randomized as the deterministic algorithm differs from the lower bound by a sublogarithmic factor.
We can achieve optimality either with a randomized method or if given, along with the input,
 of relative frequency of the mode with a constant additive error.
Fulltext Preview (Small, Large)
|
|
|
|
|
|