On the Competitive Theory and Practice of Online List Accessing Algorithms

This paper concerns the online list accessing problem. In the first part of the paper we present two new families of list accessing algorithms. The first family is of optimal, 2-competitive, deterministic online algorithms. This family, called the MRI (MOVE-TO-RECENT-ITEM) family, includes as members the well-known MOVE-TO-FRONT (MTF) algorithm and the recent, more ``conservative'' algorithm TIMESTAMP due to Albers. So far MOVE-TO-FRONT and TIMESTAMP were the only algorithms known to be optimal in terms of their competitive ratio. This new family contains a sequence of algorithms { A(i) }i \geq 1 where A(1) is equivalent to TIMESTAMP and the limit element A(∈fty) is \mtf. Further, in this class, for each i , the algorithm A(i) is more conservative than algorithm A(i+1) in the sense that it is more reluctant to move an accessed item to the front, thus giving a gradual transition from the conservative TIMESTAMP to the ``reckless'' MTF. The second new family, called the PRI (PASS-RECENT-ITEM) family, is also infinite and contains TIMESTAMP. We show that most algorithms in this family attain a competitive ratio of 3.In the second, experimental, part of the paper we report the results of an extensive empirical study of the performances of a large set of online list accessing algorithms (including members of our MRI and PRI families). The algorithms' access cost performances were tested with respect to a number of different request sequences. These include sequences of independent requests generated by probability distributions and sequences generated by Markov sources to examine the influence of locality. It turns out that the degree of locality has a considerable influence on the algorithms' absolute and relative costs, as well as on their rankings. In another experiment we tested the algorithms' performances as data compressors in two variants of the compression scheme of Bentley et al. In both experiments, members of the MRI and PRI families were found to be among the best performing algorithms.

[1]  Allan Borodin,et al.  Online computation and competitive analysis , 1998 .

[2]  Anna R. Karlin,et al.  Competitive snoopy caching , 1986, 27th Annual Symposium on Foundations of Computer Science (sfcs 1986).

[3]  Ronald L. Rivest,et al.  On self-organizing sequential search heuristics , 1976, CACM.

[4]  John McCabe,et al.  On Serial Files with Relocatable Records , 1965 .

[5]  Boris Teia,et al.  A Lower Bound for Randomized List Update Algorithms , 1993, Inf. Process. Lett..

[6]  Aaron M. Tenenbaum Simulations of dynamic sequential search algorithms , 1978, CACM.

[7]  D. J. Wheeler,et al.  A Block-sorting Lossless Data Compression Algorithm , 1994 .

[8]  Ian H. Witten,et al.  Text Compression , 1990, 125 Problems in Text Algorithms.

[9]  Ramarathnam Venkatesan,et al.  Splay trees for data compression , 1995, SODA '95.

[10]  Frank Schulz Two New Families of List Update Algorithms , 1998, ISAAC.

[11]  Susanne Albers,et al.  Revisiting the Counter Algorithms for List Update , 1997, Inf. Process. Lett..

[12]  Robert E. Tarjan,et al.  A Locally Adaptive Data , 1986 .

[13]  Daniel S. Hirschberg,et al.  Self-organizing linear search , 1985, CSUR.

[14]  Susanne Albers,et al.  Improved randomized on-line algorithms for the list update problem , 1995, SODA '95.

[15]  Susanne Albers,et al.  Average Case Analyses of List Update Algorithms, with Applications to Data Compression , 1996, ICALP.

[16]  Bernhard von Stengel,et al.  A Combined BIT and TIMESTAMP Algorithm for the List Update Problem , 1995, Inf. Process. Lett..

[17]  Sandy Irani,et al.  Two Results on the List Update Problem , 1991, Inf. Process. Lett..

[18]  Jeffery R. Westbrook,et al.  Randomized competitive algorithms for the list update problem , 1991, SODA '91.

[19]  Catherine C. McGeoch,et al.  Self-Organizing Sequential Search Heuristics , 1999 .

[20]  Timothy C. Bell,et al.  A corpus for the evaluation of lossless compression algorithms , 1997, Proceedings DCC '97. Data Compression Conference.

[21]  Robert E. Tarjan,et al.  Amortized efficiency of list update and paging rules , 1985, CACM.