A New Perspective on List Update: Probabilistic Locality and Working Set

  • Reza Dorrigiv
  • Alejandro López-Ortiz
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7164)


In this paper we study the performance of list update algorithms under arbitrary distributions that exhibit strict locality of reference and prove that Move-to-Front (MTF) is the best list update algorithm under any such distribution. Furthermore, we study the working set property of online list update algorithms. The working set property indicates the good performance of an online algorithm on sequences with locality of reference. We show that no list update algorithm has the working set property. Nevertheless, we can distinguish among list update algorithms by comparing their performance in terms of the working set bound. We prove bounds for several well known list update algorithms and conclude that MTF attains the best performance in this context as well.


Competitive Ratio Probabilistic Locality Online Algorithm Static List High Locality 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
  2. 2.
    Albers, S.: Improved randomized on-line algorithms for the list update problem. SICOMP 27(3), 682–693 (1998)MathSciNetzbMATHGoogle Scholar
  3. 3.
    Albers, S., Lauer, S.: On List Update with Locality of Reference. In: Aceto, L., Damgård, I., Goldberg, L.A., Halldórsson, M.M., Ingólfsdóttir, A., Walukiewicz, I. (eds.) ICALP 2008, Part I. LNCS, vol. 5125, pp. 96–107. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  4. 4.
    Albers, S., Mitzenmacher, M.: Average case analyses of list update algorithms, with applications to data compression. Algorithmica 21(3), 312–329 (1998)MathSciNetzbMATHCrossRefGoogle Scholar
  5. 5.
    Albers, S., von Stengel, B., Werchner, R.: A combined bit and timestamp algorithm for the list update problem. IPL 56, 135–139 (1995)zbMATHCrossRefGoogle Scholar
  6. 6.
    Angelopoulos, S., Dorrigiv, R., López-Ortiz, A.: List Update with Locality of Reference. In: Laber, E.S., Bornstein, C., Nogueira, L.T., Faria, L. (eds.) LATIN 2008. LNCS, vol. 4957, pp. 399–410. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  7. 7.
    Bachrach, R., El-Yaniv, R.: Online list accessing algorithms and their applications: Recent empirical evidence. In: SODA, pp. 53–62 (1997)Google Scholar
  8. 8.
    Becchetti, L.: Modeling Locality: A Probabilistic Analysis of LRU and FWF. In: Albers, S., Radzik, T. (eds.) ESA 2004. LNCS, vol. 3221, pp. 98–109. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  9. 9.
    Bentley, J., McGeoch, C.: Amortized analyses of self-organizing sequential search heuristics. CACM 28, 404–411 (1985)Google Scholar
  10. 10.
    Bentley, J.L., Sleator, D.D., Tarjan, R.E., Wei, V.K.: A locally adaptive data compression scheme. CACM 29, 320–330 (1986)MathSciNetzbMATHGoogle Scholar
  11. 11.
    Borodin, A., El-Yaniv, R.: Online Computation and Competitive Analysis. Cambridge University Press (1998)Google Scholar
  12. 12.
    Bose, P., Douïeb, K., Langerman, S.: Dynamic optimality for skip lists and B-trees. In: SODA, pp. 1106–1114 (2008)Google Scholar
  13. 13.
    Burrows, M., Wheeler, D.J.: A block-sorting lossless data compression algorithm. Technical Report 124, DEC SRC (1994)Google Scholar
  14. 14.
    Burville, P., Kingman, J.: On a model for storage and search. Journal of Applied Probability 10, 697–701 (1973)MathSciNetzbMATHCrossRefGoogle Scholar
  15. 15.
    Chung, F.R., Hajela, D.J., Seymour, P.D.: Self-organizing sequential search and hilbert’s inequalities. In: STOC, pp. 217–223 (1985)Google Scholar
  16. 16.
    Dorrigiv, R., Ehmsen, M.R., López-Ortiz, A.: Parameterized Analysis of Paging and List Update Algorithms. In: Bampis, E., Jansen, K. (eds.) WAOA 2009. LNCS, vol. 5893, pp. 104–115. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  17. 17.
    Dorrigiv, R., López-Ortiz, A., Munro, J.I.: An Application of Self-Organizing Data Structures to Compression. In: Vahrenhold, J. (ed.) SEA 2009. LNCS, vol. 5526, pp. 137–148. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  18. 18.
    Ehmsen, M.R., Kohrt, J.S., Larsen, K.S.: List Factoring and Relative Worst Order Analysis. In: Jansen, K., Solis-Oba, R. (eds.) WAOA 2010. LNCS, vol. 6534, pp. 118–129. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  19. 19.
    Gonnet, G.H., Munro, J.I., Suwanda, H.: Toward self-organizing linear search. In: FOCS, pp. 169–174 (1979)Google Scholar
  20. 20.
    Hester, J.H., Hirschberg, D.S.: Self-organizing linear search. ACM Computing Surveys 17(3), 295 (1985)CrossRefGoogle Scholar
  21. 21.
    Iacono, J.: Improved Upper Bounds for Pairing Heaps. In: Halldórsson, M.M. (ed.) SWAT 2000. LNCS, vol. 1851, pp. 32–45. Springer, Heidelberg (2000)CrossRefGoogle Scholar
  22. 22.
    Irani, S.: Two results on the list update problem. IPL 38, 301–306 (1991)MathSciNetzbMATHCrossRefGoogle Scholar
  23. 23.
    Koutsoupias, E., Papadimitriou, C.: Beyond competitive analysis. SICOMP 30(1), 300–317 (2000)MathSciNetzbMATHGoogle Scholar
  24. 24.
    Martínez, C., Roura, S.: On the competitiveness of the move-to-front rule. Theoretical Computer Science 242(1–2), 313–325 (2000)MathSciNetzbMATHCrossRefGoogle Scholar
  25. 25.
    McCabe, J.: On serial files with relocatable records. Op. Res. 12, 609–618 (1965)MathSciNetCrossRefGoogle Scholar
  26. 26.
    Motwani, R., Raghavan, P.: Randomized Algorithms. Cambridge University Press (1995)Google Scholar
  27. 27.
    Munro, J.I.J.: On the Competitiveness of Linear Search. In: Paterson, M. (ed.) ESA 2000. LNCS, vol. 1879, pp. 338–345. Springer, Heidelberg (2000)CrossRefGoogle Scholar
  28. 28.
    Reingold, N., Westbrook, J., Sleator, D.: Randomized competitive algorithms for the list update problem. Algorithmica 11, 15–32 (1994)MathSciNetzbMATHCrossRefGoogle Scholar
  29. 29.
    Rivest, R.: On self-organizing sequential search heuristics. CACM 19, 63–67 (1976)MathSciNetzbMATHGoogle Scholar
  30. 30.
    Seward, J.: bzip2, a program and library for data compression,
  31. 31.
    Sleator, D.D., Tarjan, R.E.: Amortized efficiency of list update and paging rules. CACM 28, 202–208 (1985)MathSciNetGoogle Scholar
  32. 32.
    Sleator, D.D., Tarjan, R.E.: Self-adjusting binary search trees. Journal of the ACM 32(3), 652–686 (1985)MathSciNetzbMATHCrossRefGoogle Scholar
  33. 33.
    Teia, B.: A lower bound for randomized list update algorithms. IPL 47, 5–9 (1993)MathSciNetzbMATHCrossRefGoogle Scholar
  34. 34.
    Witten, I.H., Bell, T.: The Calgary/Canterbury text compression corpus. Anonymous ftp from,

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Reza Dorrigiv
    • 1
  • Alejandro López-Ortiz
    • 1
  1. 1.Cheriton School of Computer ScienceUniversity of WaterlooWaterlooCanada

Personalised recommendations