Abstract
An online algorithm is typically unaware of the length of the input request sequence that it is called upon. Consequently, it cannot determine whether it has already processed most of its input or whether the bulk of work is still ahead.
In this paper, we are interested in whether some sort of orientation within the request sequence is nevertheless possible. Our objective is to preemptively guess the center of a request sequence of unknown length n: While processing the input, the online algorithm maintains a guess for the central position and is only allowed to update its guess to the position of the current element under investigation. We show that there is a randomized algorithm that in expectation places the guess at a distance of 0.172n from the central position
, and we prove that this is best possible. We also give upper and lower bounds for a natural extension to weighted sequences.
This problem has an application to preemptively partitioning integer sequences and is connected to the online bidding problem.
C. Konrad is supported by the Centre for Discrete Mathematics and its Applications (DIMAP) at Warwick University and by EPSRC award EP/N011163/1. T. Tonoyan is supported by grants no. 152679-05 and 174484-05 from the Icelandic Research Fund.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
An exception are online algorithms with advice, where the online algorithm receives additional input bits prior to the processing of the request sequence. These bits can be used to encode the input length. See [1] for a recent survey.
References
Boyar, J., Favrholdt, L.M., Kudahl, C., Larsen, K.S., Mikkelsen, J.W.: Online algorithms with advice: a survey. SIGACT News 47(3), 93–129 (2016)
Karlin, A.R., Manasse, M.S., Rudolph, L., Sleator, D.D.: Competitive snoopy caching. Algorithmica 3(1), 79–119 (1988)
Chrobak, M., Kenyon-Mathieu, C.: Sigact news online algorithms column 10: competitiveness via doubling. SIGACT News 37(4), 115–126 (2006)
Yao, A.C.C.: Probabilistic computations: toward a unified measure of complexity. In: Proceedings of the 18th Annual Symposium on Foundations of Computer Science, SFCS 1977, Washington, DC, USA, pp. 222–227. IEEE Computer Society (1977)
Chrobak, M., Kenyon, C., Noga, J., Young, N.E.: Oblivious medians via online bidding. In: Correa, J.R., Hevia, A., Kiwi, M. (eds.) LATIN 2006. LNCS, vol. 3887, pp. 311–322. Springer, Heidelberg (2006). https://doi.org/10.1007/11682462_31
Bokhari, S.H.: Partitioning problems in parallel, pipeline, and distributed computing. IEEE Trans. Comput. 37(1), 48–57 (1988)
Hansen, P., Lih, K.W.: Improved algorithms for partitioning problems in parallel, pipelined, and distributed computing. IEEE Trans. Comput. 41, 769–771 (1992)
Khanna, S., Muthukrishnan, S., Skiena, S.: Efficient array partitioning. In: Degano, P., Gorrieri, R., Marchetti-Spaccamela, A. (eds.) ICALP 1997. LNCS, vol. 1256, pp. 616–626. Springer, Heidelberg (1997). https://doi.org/10.1007/3-540-63165-8_216
Miguet, S., Pierson, J.-M.: Heuristics for 1D rectilinear partitioning as a low cost and high quality answer to dynamic load balancing. In: Hertzberger, B., Sloot, P. (eds.) HPCN-Europe 1997. LNCS, vol. 1225, pp. 550–564. Springer, Heidelberg (1997). https://doi.org/10.1007/BFb0031628
Konrad, C.: Streaming partitioning of sequences and trees. In: 19th International Conference on Database Theory, ICDT 2016, Bordeaux, France, 15–18 March 2016, pp. 13:1–13:18 (2016)
Konrad, C., Tonoyan, T.: Preemptive online partitioning of sequences. CoRR abs/1702.06099 (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this paper
Cite this paper
Konrad, C., Tonoyan, T. (2018). Preemptively Guessing the Center. In: Lee, J., Rinaldi, G., Mahjoub, A. (eds) Combinatorial Optimization. ISCO 2018. Lecture Notes in Computer Science(), vol 10856. Springer, Cham. https://doi.org/10.1007/978-3-319-96151-4_24
Download citation
DOI: https://doi.org/10.1007/978-3-319-96151-4_24
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-96150-7
Online ISBN: 978-3-319-96151-4
eBook Packages: Computer ScienceComputer Science (R0)