Skip to main content
Top
Published in: Journal of Scheduling 5/2017

17-06-2016

Reordering buffer management with advice

Authors: Anna Adamaszek, Marc P. Renault, Adi Rosén, Rob van Stee

Published in: Journal of Scheduling | Issue 5/2017

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

In the reordering buffer management problem, a sequence of colored items arrives at a service station to be processed. Each color change between two consecutively processed items generates some cost. A reordering buffer of capacity k items can be used to preprocess the input sequence in order to decrease the number of color changes. The goal is to find a scheduling strategy that, using the reordering buffer, minimizes the number of color changes in the given sequence of items. We consider the problem in the setting of online computation with advice. In this model, the color of an item becomes known only at the time when the item enters the reordering buffer. Additionally, together with each item entering the buffer, we get a fixed number of advice bits, which can be seen as information about the future or as information about an optimal solution (or an approximation thereof) for the whole input sequence. We show that for any \(\varepsilon > 0\) there is a \((1+\varepsilon )\)-competitive algorithm for the problem which uses only a constant (depending on \(\varepsilon \)) number of advice bits per input item. This also immediately implies a \((1+\varepsilon )\)-approximation algorithm which has \(2^{O(n\log 1/\varepsilon )}\) running time (this should be compared to the trivial optimal algorithm which has a running time of \(k^{O(n)}\)). We complement the above result by presenting a lower bound of \(\varOmega (\log k)\) bits of advice per request for any 1-competitive algorithm.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
As we are constructing a lower bound, this assumption only makes our results stronger.
 
2
In such a lower bound construction, the advice string can be any sequence of bits. It is possible that appending a request of color \(c_j\) to \(\sigma '_i\) may contradict an advice string. For instance, an advice string that indicates the color of the current request to be something other than \(c_j\). In such a case, the actions of \(\textsc {alg}^k_\textsc {tidy}\) may be undefined for \(\sigma '_i\) and the given advice. Regardless, we know that \(\textsc {alg}^k_\textsc {tidy}\) will serve the requests of the colors of \(\pi _i\) with more than k color switches.
 
3
As noted previously, Theorem 1 holds even if the advice is received in advance.
 
Literature
go back to reference Adamaszek, A., Czumaj, A., Englert, M., & Räcke, H. (2011). Almost tight bounds for reordering buffer management. In L. Fortnow & S. P. Vadhan (Eds.), STOC (pp. 607–616). San Jose: ACM Press. Adamaszek, A., Czumaj, A., Englert, M., & Räcke, H. (2011). Almost tight bounds for reordering buffer management. In L. Fortnow & S. P. Vadhan (Eds.), STOC (pp. 607–616). San Jose: ACM Press.
go back to reference Albers, S., & Hellwig, M. (2014). Online makespan minimization with parallel schedules. In: Ravi, R., Gørtz, I. L. (eds.) Algorithm theory—SWAT 2014—14th Scandinavian symposium and workshops, Copenhagen, July 2–4. Proceedings, Lecture notes in computer science (Vol. 8503, pp. 13–25). Springer. doi:10.1007/978-3-319-08404-6_2. Albers, S., & Hellwig, M. (2014). Online makespan minimization with parallel schedules. In: Ravi, R., Gørtz, I. L. (eds.) Algorithm theory—SWAT 2014—14th Scandinavian symposium and workshops, Copenhagen, July 2–4. Proceedings, Lecture notes in computer science (Vol. 8503, pp. 13–25). Springer. doi:10.​1007/​978-3-319-08404-6_​2.
go back to reference Asahiro, Y., Kawahara, K., & Miyano, E. (2012). Np-hardness of the sorting buffer problem on the uniform metric. Discrete Applied Mathematics, 160(10–11), 1453–1464.CrossRef Asahiro, Y., Kawahara, K., & Miyano, E. (2012). Np-hardness of the sorting buffer problem on the uniform metric. Discrete Applied Mathematics, 160(10–11), 1453–1464.CrossRef
go back to reference Avigdor-Elgrabli, N., & Rabani, Y. (2010). An improved competitive algorithm for reordering buffer management. In M. Charikar (Ed.), SODA (pp. 13–21). Philadelphia: SIAM. Avigdor-Elgrabli, N., & Rabani, Y. (2010). An improved competitive algorithm for reordering buffer management. In M. Charikar (Ed.), SODA (pp. 13–21). Philadelphia: SIAM.
go back to reference Avigdor-Elgrabli, N., & Rabani, Y. (2013). A constant factor approximation algorithm for reordering buffer management. In S. Khanna (Ed.), SODA (pp. 973–984). Philadelphia: SIAM. Avigdor-Elgrabli, N., & Rabani, Y. (2013). A constant factor approximation algorithm for reordering buffer management. In S. Khanna (Ed.), SODA (pp. 973–984). Philadelphia: SIAM.
go back to reference Avigdor-Elgrabli, N., & Rabani, Y. (2013). An optimal randomized online algorithm for reordering buffer management. In 54th Annual IEEE Symposium on Foundations of Computer Science, (pp.1–10). Berkeley, CA. doi:10.1109/FOCS.2013.9 Avigdor-Elgrabli, N., & Rabani, Y. (2013). An optimal randomized online algorithm for reordering buffer management. In 54th Annual IEEE Symposium on Foundations of Computer Science, (pp.1–10). Berkeley, CA. doi:10.​1109/​FOCS.​2013.​9
go back to reference Blandford, D. K., & Blelloch, G. E. (2002). Index compression through document reordering. In: DCC (pp. 342–351). IEEE Computer Society. Blandford, D. K., & Blelloch, G. E. (2002). Index compression through document reordering. In: DCC (pp. 342–351). IEEE Computer Society.
go back to reference Böckenhauer, H., Hromkovic, J., Komm, D., Krug, S., Smula, J., & Sprock, A. (2014). The string guessing problem as a method to prove lower bounds on the advice complexity. Theoretical Computer Science, 554, 95–108. doi:10.1016/j.tcs.2014.06.006.CrossRef Böckenhauer, H., Hromkovic, J., Komm, D., Krug, S., Smula, J., & Sprock, A. (2014). The string guessing problem as a method to prove lower bounds on the advice complexity. Theoretical Computer Science, 554, 95–108. doi:10.​1016/​j.​tcs.​2014.​06.​006.CrossRef
go back to reference Böckenhauer, H. J., Komm, D., Královic, R., & Královic, R. (2011). On the advice complexity of the k-server problem. In: Aceto, L., Henzinger, M., Sgall, J. (eds.) ICALP (1), Lecture notes in computer science (Vol. 6755, pp 207–218). Springer. Also as technical report at ftp://ftp.inf.ethz.ch/pub/publications/tech-reports/7xx/703.pdf. Böckenhauer, H. J., Komm, D., Královic, R., & Královic, R. (2011). On the advice complexity of the k-server problem. In: Aceto, L., Henzinger, M., Sgall, J. (eds.) ICALP (1), Lecture notes in computer science (Vol. 6755, pp 207–218). Springer. Also as technical report at ftp://ftp.inf.ethz.ch/pub/publications/tech-reports/7xx/703.pdf.
go back to reference Böckenhauer, H. J., Komm, D., Královic, R., Královic, R., & Mömke, T. (2009). On the advice complexity of online problems. In: Dong, Y., Du, D.Z., Ibarra, O.H. (eds.) ISAAC, Lecture notes in computer science (Vol. 5878, pp. 331–340). Berlin: Springer. Böckenhauer, H. J., Komm, D., Královic, R., Královic, R., & Mömke, T. (2009). On the advice complexity of online problems. In: Dong, Y., Du, D.Z., Ibarra, O.H. (eds.) ISAAC, Lecture notes in computer science (Vol. 5878, pp. 331–340). Berlin: Springer.
go back to reference Chan, H. L., Megow, N., Sitters, R., & van Stee, R. (2012). A note on sorting buffers offline. Theoretical Computer Science, 423, 11–18.CrossRef Chan, H. L., Megow, N., Sitters, R., & van Stee, R. (2012). A note on sorting buffers offline. Theoretical Computer Science, 423, 11–18.CrossRef
go back to reference Dobrev, S., Královič, R., & Pardubská, D. (2008). How much information about the future is needed? In: SOFSEM’08: Proceedings of the 34th conference on current trends in theory and practice of computer science (pp. 247–258). Berlin, Heidelberg: Springer. Dobrev, S., Královič, R., & Pardubská, D. (2008). How much information about the future is needed? In: SOFSEM’08: Proceedings of the 34th conference on current trends in theory and practice of computer science (pp. 247–258). Berlin, Heidelberg: Springer.
go back to reference Dohrau, J. (2015). Online makespan scheduling with sublinear advice. In: Italiano, G. F., Margaria-Steffen, T., Pokorný, J., Quisquater, J., Wattenhofer, R. (eds.) SOFSEM 2015: Theory and practice of computer science—41st international conference on current trends in theory and practice of computer science, Pec pod Sněžkou, Czech Republic, January 24–29, 2015. Proceedings, Lecture Notes in Computer Science (Vol. 8939, pp. 177–188). Springer. doi:10.1007/978-3-662-46078-8_15. Dohrau, J. (2015). Online makespan scheduling with sublinear advice. In: Italiano, G. F., Margaria-Steffen, T., Pokorný, J., Quisquater, J., Wattenhofer, R. (eds.) SOFSEM 2015: Theory and practice of computer science—41st international conference on current trends in theory and practice of computer science, Pec pod Sněžkou, Czech Republic, January 24–29, 2015. Proceedings, Lecture Notes in Computer Science (Vol. 8939, pp. 177–188). Springer. doi:10.​1007/​978-3-662-46078-8_​15.
go back to reference Dorrigiv, R., He, M., & Zeh, N. (2012). On the advice complexity of buffer management. In: Chao, K. M., Sheng Hsu, T., Lee, D. T. (eds.) ISAAC, Lecture notes in computer science (Vol. 7676, pp. 136–145). New York: Springer. Dorrigiv, R., He, M., & Zeh, N. (2012). On the advice complexity of buffer management. In: Chao, K. M., Sheng Hsu, T., Lee, D. T. (eds.) ISAAC, Lecture notes in computer science (Vol. 7676, pp. 136–145). New York: Springer.
go back to reference Emek, Y., Fraigniaud, P., Korman, A., & Rosén, A. (2011). Online computation with advice. Theoretical Computer Science, 412(24), 2642–2656.CrossRef Emek, Y., Fraigniaud, P., Korman, A., & Rosén, A. (2011). Online computation with advice. Theoretical Computer Science, 412(24), 2642–2656.CrossRef
go back to reference Englert, M., Räcke, H., & Westermann, M. (2010). Reordering buffers for general metric spaces. Theory of Computing, 6(1), 27–46.CrossRef Englert, M., Räcke, H., & Westermann, M. (2010). Reordering buffers for general metric spaces. Theory of Computing, 6(1), 27–46.CrossRef
go back to reference Englert, M., & Westermann, M. (2005). Reordering buffer management for non-uniform cost models. In: Caires, L., Italiano, G. F., Monteiro, L., Palamidessi, C., Yung, M. (eds.) ICALP, Lecture notes in computer science (Vol. 3580, pp 627–638). Berlin: Springer. Englert, M., & Westermann, M. (2005). Reordering buffer management for non-uniform cost models. In: Caires, L., Italiano, G. F., Monteiro, L., Palamidessi, C., Yung, M. (eds.) ICALP, Lecture notes in computer science (Vol. 3580, pp 627–638). Berlin: Springer.
go back to reference Hromkovic, J., Královic, R., & Královic, R. (2010). Information complexity of online problems. In: Hlinený, P., Kucera, A. (eds.) MFCS, Lecture notes in computer science (Vol. 6281, pp 24–36). Berlin: Springer. Hromkovic, J., Královic, R., & Královic, R. (2010). Information complexity of online problems. In: Hlinený, P., Kucera, A. (eds.) MFCS, Lecture notes in computer science (Vol. 6281, pp 24–36). Berlin: Springer.
go back to reference Komm, D., & Královic, R. (2011). Advice complexity and barely random algorithms. RAIRO-Theoretical Informatics and Applications, 45(2), 249–267.CrossRef Komm, D., & Královic, R. (2011). Advice complexity and barely random algorithms. RAIRO-Theoretical Informatics and Applications, 45(2), 249–267.CrossRef
go back to reference Krokowski, J., Räcke, H., Sohler, C., & Westermann, M. (2004). Reducing state changes with a pipeline buffer. In: Girod, B., Magnor, M. A., Seidel, H. P. (eds.) VMV (p. 217). Aka GmbH. Krokowski, J., Räcke, H., Sohler, C., & Westermann, M. (2004). Reducing state changes with a pipeline buffer. In: Girod, B., Magnor, M. A., Seidel, H. P. (eds.) VMV (p. 217). Aka GmbH.
go back to reference Lewis, H. R., & Papadimitriou, C. H. (1997). Elements of the theory of computation (2nd ed.). Upper Saddle River, NJ: Prentice Hall PTR. Lewis, H. R., & Papadimitriou, C. H. (1997). Elements of the theory of computation (2nd ed.). Upper Saddle River, NJ: Prentice Hall PTR.
go back to reference Räcke, H., Sohler, C., & Westermann, M. (2002). Online scheduling for sorting buffers. In: Möhring, R. H., Raman, R. (eds.) ESA, Lecture Notes in Computer Science (Vol. 2461, pp. 820–832). Berlin: Springer. Räcke, H., Sohler, C., & Westermann, M. (2002). Online scheduling for sorting buffers. In: Möhring, R. H., Raman, R. (eds.) ESA, Lecture Notes in Computer Science (Vol. 2461, pp. 820–832). Berlin: Springer.
go back to reference Standard for information technology portable operating system interface (posix(r)) base specifications, issue 7. IEEE Std 1003.1, 2013 Edition (incorporates IEEE Std 1003.1-2008, and IEEE Std 1003.1-2008/Cor 1-2013) pp. 1–3906 (2013). doi:10.1109/IEEESTD.2013.6506091. Standard for information technology portable operating system interface (posix(r)) base specifications, issue 7. IEEE Std 1003.1, 2013 Edition (incorporates IEEE Std 1003.1-2008, and IEEE Std 1003.1-2008/Cor 1-2013) pp. 1–3906 (2013). doi:10.​1109/​IEEESTD.​2013.​6506091.
Metadata
Title
Reordering buffer management with advice
Authors
Anna Adamaszek
Marc P. Renault
Adi Rosén
Rob van Stee
Publication date
17-06-2016
Publisher
Springer US
Published in
Journal of Scheduling / Issue 5/2017
Print ISSN: 1094-6136
Electronic ISSN: 1099-1425
DOI
https://doi.org/10.1007/s10951-016-0487-8

Other articles of this Issue 5/2017

Journal of Scheduling 5/2017 Go to the issue

Premium Partner