scispace - formally typeset
Search or ask a question

Showing papers by "Alejandro López-Ortiz published in 2019"


Journal ArticleDOI
TL;DR: It is demonstrated that Least-Recently-Used (LRU) is the unique optimal strategy according to average analysis, the first deterministic model to provide full theoretical backing to the empirical observation that LRU is preferable in practice.
Abstract: We introduce a new technique for the analysis of online algorithms, namely bijective analysis, that is based on pair-wise comparison of the costs incurred by the algorithms. Under this framework, an algorithm A is no worse than an algorithm B if there is a bijection $$\pi $$ defined over all request sequences of a given size such that the cost of A on $$\sigma $$ is no more than the cost of B on $$B(\pi (\sigma ))$$ . We also study a relaxation of bijective analysis, termed average analysis, in which we compare two algorithms based on their corresponding average costs over request sequences of a given size. We apply these new techniques in the context of two fundamental online problems, namely paging and list update. For paging, we show that any two lazy online algorithms are equivalent under bijective analysis. This result demonstrates that, without further assumptions on characteristics of request sequences, it is unlikely, or even undesirable, to separate online paging algorithms based on their performance. However, once we restrict the set of request sequences to those exhibiting locality of reference, and in particular using a model of locality due to Albers et al. (J Comput Syst Sci 70(2):145–175, 2005), we demonstrate that Least-Recently-Used (LRU) is the unique optimal strategy according to average analysis. This is, to our knowledge, the first deterministic model to provide full theoretical backing to the empirical observation that LRU is preferable in practice. Concerning list update, we obtain similar conclusions, in terms of the bijective comparison of any two online algorithms, and in terms of the superiority (albeit not necessarily unique) of the Move-To-Front (MTF) heuristic in the presence of locality of reference.

65 citations