Chent, Ke; Fiat, Amos; Kaplan, Haim; Levy, Meital B; Matoušek, Jiří; Mossel, Elchanan; Pach, János; Sharir, Micha; Smorodinsky, Shakhar; Wagner, UliIST Austria ; Welzl, Emo
We consider an online version of the conflict-free coloring of a set of points on the line, where each newly inserted point must be assigned a color upon insertion, and at all times the coloring has to be conflict-free, in the sense that in every interval I there is a color that appears exactly once in I. We present deterministic and randomized algorithms for achieving this goal, and analyze their performance, that is, the maximum number of colors that they need to use, as a function of the number n of inserted points. We first show that a natural and simple (deterministic) approach may perform rather poorly, requiring Ω(√̃) colors in the worst case. We then derive two efficient variants of this simple algorithm. The first is deterministic and uses O(log 2 n) colors, and the second is randomized and uses O(log n) colors with high probability. We also show that the O(log 2 n) bound on the number of colors used by our deterministic algorithm is tight on the worst case. We also analyze the performance of the simplest proposed algorithm when the points are inserted in a random order and present an incomplete analysis that indicates that, with high probability, it uses only O(log n) colors. Finally, we show that in the extension of this problem to two dimensions, where the relevant ranges are disks, n colors may be required in the worst case.
SIAM Journal on Computing
1342 - 1359
Chent K, Fiat A, Kaplan H, et al. Online conflict-free coloring for intervals. SIAM Journal on Computing. 2006;36(5):1342-1359. doi:10.1137/S0097539704446682
Chent, K., Fiat, A., Kaplan, H., Levy, M., Matoušek, J., Mossel, E., … Welzl, E. (2006). Online conflict-free coloring for intervals. SIAM Journal on Computing. SIAM. https://doi.org/10.1137/S0097539704446682
Chent, Ke, Amos Fiat, Haim Kaplan, Meital Levy, Jiří Matoušek, Elchanan Mossel, János Pach, et al. “Online Conflict-Free Coloring for Intervals.” SIAM Journal on Computing. SIAM, 2006. https://doi.org/10.1137/S0097539704446682.
K. Chent et al., “Online conflict-free coloring for intervals,” SIAM Journal on Computing, vol. 36, no. 5. SIAM, pp. 1342–1359, 2006.
Chent K, Fiat A, Kaplan H, Levy M, Matoušek J, Mossel E, Pach J, Sharir M, Smorodinsky S, Wagner U, Welzl E. 2006. Online conflict-free coloring for intervals. SIAM Journal on Computing. 36(5), 1342–1359.
Chent, Ke, et al. “Online Conflict-Free Coloring for Intervals.” SIAM Journal on Computing, vol. 36, no. 5, SIAM, 2006, pp. 1342–59, doi:10.1137/S0097539704446682.