Abstract
Relative worst order analysis is a supplement or alternative to competitive analysis which has been shown to give results more in accordance with observed behavior of online algorithms for a range of different online problems. The contribution of this paper is twofold. As the first contribution, it adds the static list accessing problem to the collection of online problems where relative worst order analysis gives better results. List accessing is a classic data structuring problem of maintaining optimal ordering in a linked list. It is also one of the classic problems in online algorithms, in that it is used as a model problem, along with paging and a few other problems, when trying out new techniques and quality measures. As the second contribution, this paper adds the non-trivial supplementary proof technique of list factoring to the theoretical toolbox for relative worst order analysis. List factoring is perhaps the most successful technique for analyzing list accessing algorithms, reducing the complexity of the analysis of algorithms on full-length lists to lists of length two.
Similar content being viewed by others
Notes
In the many papers that discuss \(\operatorname{Randomized-Move-To-Front}\), we have not been able to find a reference to the paper with the first definition of the algorithm. However, [7] cites personal communication with J. Westbrook from 1996 regarding properties of the algorithm.
References
Albers, S.: Improved randomized on-line algorithms for the list update problem. SIAM J. Comput. 27(3), 682–693 (1998)
Albers, S., Lauer, S.: On list update with locality of reference. In: Proceedings of the 35th International Colloquium on Automata, Languages and Programming, pp. 96–107 (2008)
Albers, S., Westbrook, J.: Self-organizing data structures. In: Fiat, A., Woeginger, G.J. (eds.) Online Algorithms—The State of the Art. Lecture Notes in Computer Science, vol. 1442, pp. 13–51. Springer, Berlin (1998)
Albers, S., von Stengel, B., Werchner, R.: A combined BIT and TIMESTAMP algorithm for the list update problem. Inf. Process. Lett. 56, 135–139 (1995)
Angelopoulos, S., Dorrigiv, R., López-Ortiz, A.: On the separation and equivalence of paging strategies. In: 18th ACM-SIAM Symposium on Discrete Algorithms, pp. 229–237 (2007)
Angelopoulos, S., Dorrigiv, R., López-Ortiz, A.: List update with locality of reference. In: Proceedings of the 8th Latin American Symposium on Theoretical Informatics, pp. 399–410 (2008)
Bachrach, R., El-Yaniv, R.: Online list accessing algorithms and their applications: recent empirical evidence. In: Proceedings of the 8th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 53–62 (1997)
Ben-David, S., Borodin, A.: A new measure for the study of on-line algorithms. Algorithmica 11, 73–91 (1994)
Bentley, J.L., McGeoch, C.C.: Amortized analyses of self-organizing sequential search heuristics. Commun. ACM 28, 404–411 (1985)
Borodin, A., El-Yaniv, R.: Online Computation and Competitive Analysis. Cambridge University Press, Cambridge (1998)
Boyar, J., Favrholdt, L.M.: The relative worst order ratio for on-line algorithms. ACM Trans. Algorithms 3(2), article no. 22 (2007)
Boyar, J., Medvedev, P.: The relative worst order ratio applied to seat reservation. ACM Trans. Algorithms 4(4), article no. 48 (2008)
Boyar, J., Favrholdt, L.M., Larsen, K.S.: The relative worst-order ratio applied to paging. J. Comput. Syst. Sci. 73, 818–843 (2007)
Boyar, J., Irani, S., Larsen, K.S.: A comparison of performance measures for online algorithms. In: Eleventh International Algorithms and Data Structures Symposium. Lecture Notes in Computer Science, vol. 5664, pp. 119–130. Springer, Berlin (2009)
Dorrigiv, R., López-Ortiz, A.: A survey of performance measures for on-line algorithms. SIGACT News 36(3), 67–81 (2005)
Dorrigiv, R., Ehmsen, M.R., López-Ortiz, A.: Parameterized analysis of paging and list update algorithms. In: Proceedings of the 7th International Workshop on Approximation and Online Algorithms. Lecture Notes in Computer Science, vol. 5893, pp. 104–115. Springer, Berlin (2010)
Epstein, L., Favrholdt, L.M., Kohrt, J.S.: Separating scheduling algorithms with the relative worst order ratio. J. Comb. Optim. 12(4), 362–385 (2006)
Epstein, L., Favrholdt, L.M., Kohrt, J.S.: Comparing online algorithms for bin packing problems. J. Sched. 15(1), 13–21 (2012)
Garefalakis, T.: A new family of randomized algorithms for list accessing. In: Proceedings of the 5th Annual European Symposium on Algorithms, pp. 200–216 (1997)
Graham, R.L.: Bounds on multiprocessing timing anomalies. SIAM J. Appl. Math. 17(2), 416–429 (1969)
Irani, S.: Two results on the list update problem. Inf. Process. Lett. 38(6), 301–306 (1991)
Karlin, A.R., Manasse, M.S., Rudolph, L., Sleator, D.D.: Competitive snoopy caching. Algorithmica 3, 79–119 (1988)
Kenyon, C.: Best-fit bin-packing with random order. In: 7th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 359–364 (1996)
Koutsoupias, E., Papadimitriou, C.H.: Beyond competitive analysis. SIAM J. Comput. 30(1), 300–317 (2001)
Krumke, S.O., de Paepe, W.E., Rambau, J., Stougie, L.: Bincoloring. Theor. Comput. Sci. 407(1–3), 231–241 (2008)
McCabe, J.: On serial files with relocatable records. Oper. Res. 13(4), 609–618 (1965)
Reingold, N., Westbrook, J., Sleator, D.D.: Randomized competitive algorithms for the list update problem. Algorithmica 11, 15–32 (1994)
Sleator, D.D., Tarjan, R.E.: Amortized efficiency of list update and paging rules. Commun. ACM 28(2), 202–208 (1985)
Teia, B.: A lower bound for randomized list update algorithms. Inf. Process. Lett. 47, 5–9 (1993)
Young, N.: The k-server dual and loose competitiveness for paging. Algorithmica 11, 525–541 (1994)
Acknowledgements
The authors would like to thank Joan Boyar for initial discussions on the relationship between \(\operatorname{MTF}\) and \(\operatorname{TRANS}\) and the anonymous referees for constructive suggestions for improving the paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
A preliminary version of this paper appeared in the proceedings of the 8th Workshop on Approximation and Online Algorithms. This work was supported in part by the Danish Natural Science Research Council.
Rights and permissions
About this article
Cite this article
Ehmsen, M.R., Kohrt, J.S. & Larsen, K.S. List Factoring and Relative Worst Order Analysis. Algorithmica 66, 287–309 (2013). https://doi.org/10.1007/s00453-012-9637-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-012-9637-3