Article

The cooperative ratio of on-line algorithms

Cheriton School of Computer Science, University of Waterloo; Cheriton School of Computer Science, University of Waterloo, N2L 3G1, Waterloo, Ont, Canada
11/2007;

ABSTRACT On-line algorithms are usually analyzed using competitive analy-sis, in which the performance of an on-line algorithm on a sequence is normalized by the performance of the optimal off-line algorithm on that sequence. In this paper we introduce cooperative analysis as an alternative general framework for the analysis of on-line algorithms. The idea is to normalize the performance of an on-line algorithm by a measure other than the performance of the off-line optimal algo-rithm OPT. We show that in many instances the perform of OPT on a sequence is a coarse approximation of the difficulty or complexity of a given input. Using a finer, more natural measure we can separate paging and list update algorithms which were otherwise indistinguish-able under the classical model. This creates a performance hierarchy of algorithms which better reflects the intuitive relative strengths be-tween them. Lastly, we show that, surprisingly, certain randomized algorithms which are superior to MTF in the classical model are not so in the cooperative case, which matches experimental results. This confirms that the ability of the on-line cooperative algorithm to ignore pathological worst cases can lead to algorithms that are more efficient in practice.

0 0
 · 
0 Bookmarks
 · 
19 Views

Full-text

View
0 Downloads
Available from

Keywords

alternative general framework
 
certain randomized algorithms
 
classical model
 
coarse approximation
 
competitive analy-sis
 
cooperative analysis
 
cooperative case
 
given input
 
intuitive relative strengths be-tween
 
matches experimental results
 
natural measure
 
normalize
 
off-line optimal algo-rithm OPT
 
on-line algorithm
 
on-line algorithms
 
on-line cooperative algorithm
 
optimal off-line algorithm
 
pathological worst cases
 
performance hierarchy