skip to main content
article

The relative worst order ratio for online algorithms

Published:01 May 2007Publication History
Skip Abstract Section

Abstract

We define a new measure for the quality of online algorithms, the relative worst order ratio, using ideas from the max/max ratio [Ben-David and Borodin 1994] and from the random order ratio [Kenyon 1996]. The new ratio is used to compare online algorithms directly by taking the ratio of their performances on their respective worst permutations of a worst-case sequence.

Two variants of the bin packing problem are considered: the classical bin packing problem, where the goal is to fit all items in as few bins as possible, and the dual bin packing problem, which is the problem of maximizing the number of items packed in a fixed number of bins. Several known algorithms are compared using this new measure, and a new, simple variant of first-fit is proposed for dual bin packing.

Many of our results are consistent with those previously obtained with the competitive ratio or the competitive ratio on accommodating sequences, but new separations and easier proofs are found.

References

  1. Azar, Y., Boyar, J., Epstein, L., Favrholdt, L. M., Larsen, K. S., and Nielsen, M. N. 2002. Fair versus unrestricted bin packing. Algorithmica 34, 2, 181--196.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Ben-David, S., and Borodin, A. 1994. A new measure for the study of on-line algorithms. Algorithmica 11, 1, 73--91.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Boyar, J., Epstein, L., Favrholdt, L. M., Kohrt, J. S., Larsen, K. S., Pedersen, M. M., and Wøhlk, S. 2006. The maximum resource bin packing problem. Theor. Comput. Sci. 362, 127--139. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Boyar, J., Favrholdt, L. M., and Larsen, K. S. 2007. The relative worst order ratio applied to paging. J. Comput. Syst. Sci. 73, 818--843. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Boyar, J., Favrholdt, L. M., Larsen, K. S., and Nielsen, M. N. 2001a. The competitive ratio for on-line dual bin packing with restricted input sequences. Nordic J. Comput. 8, 4, 463--472. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Boyar, J., and Larsen, K. S. 1999. The seat reservation problem. Algorithmica 25, 403--417.Google ScholarGoogle ScholarCross RefCross Ref
  7. Boyar, J., Larsen, K. S., and Nielsen, M. N. 2001b. The accommodating function---A generalization of the competitive ratio. SIAM J. Comput. 31, 1, 233--258. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Boyar, J., and Medvedev, P. 2004. The relative worst order ratio applied to seat reservation. In Proceedings of the 9th Scandinavian Workshop on Algorithm Theory. Lecture Notes in Computer Science, vol. 3111. Springer Verlag, Berlin. 90--101.Google ScholarGoogle Scholar
  9. Epstein, L., Favrholdt, L. M., and Kohrt, J. S. 2006. The relative worst order ratio applied to scheduling problems. J. Combin. Optim. 12, 362--385.Google ScholarGoogle ScholarCross RefCross Ref
  10. Graham, R. L. 1966. Bounds for certain multiprocessing anomalies. Bell Syst. Tech. J. 45, 1563--1581.Google ScholarGoogle ScholarCross RefCross Ref
  11. Johnson, D. S. 1974. Fast algorithms for bin packing. J. Comput. Syst. Sci. 8, 272--314.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Johnson, D. S., Demers, A., Ullman, J. D., Garey, M. R., and Graham, R. L. 1974. Worst-Case performance bound for simple one-dimensional packing algorithms. SIAM J. Comput. 3, 299--325.Google ScholarGoogle ScholarCross RefCross Ref
  13. Karlin, A. R., Manasse, M. S., Rudolph, L., and Sleator, D. D. 1988. Competitive snoopy caching. Algorithmica 3, 1, 79--119.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Kenyon, C. 1996. Best-Fit bin-packing with random order. In Proceedings of the 7th Annual ACM-SIAM Symposium on Discrete Algorithms. 359--364. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Kohrt, J. S. 2004. Online algorithms under new assumptions. Ph.D. thesis, Department of Mathematics and Computer Science, University of Southern Denmark, Odense, Denmark.Google ScholarGoogle Scholar
  16. Krumke, S. O., de Paepe, W. E., Rambau, J., and Stougie, L. 2001. Online bin coloring. In Proceedings of the 9th Annual European Symposium on Algorithms. Lecture Notes in Computer Science, vol. 2161. Springer Verlag, Berlin. 74--85. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Lee, C., and Lee, D. 1985. A simple on-line bin-packing algorithm. J. ACM 32, 3, 562--572. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Seiden, S. S. 2002. On the online bin packing problem. J. ACM 49, 5, 640--671. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Sleator, D. D., and Tarjan, R. E. 1985. Amortized efficiency of list update and paging rules. Commun. ACM 28, 2, 202--208. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. The relative worst order ratio for online algorithms

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader