TY - GEN
T1 - Edit distance to monotonicity in sliding windows
AU - Chan, Ho Leung
AU - Lam, Tak Wah
AU - Lee, Lap Kei
AU - Pan, Jiangwei
AU - Ting, Hing Fung
AU - Zhang, Qin
PY - 2011
Y1 - 2011
N2 - Given a stream of items each associated with a numerical value, its edit distance to monotonicity is the minimum number of items to remove so that the remaining items are non-decreasing with respect to the numerical value. The space complexity of estimating the edit distance to monotonicity of a data stream is becoming well-understood over the past few years. Motivated by applications on network quality monitoring, we extend the study to estimating the edit distance to monotonicity of a sliding window covering the w most recent items in the stream for any w ≥ 1. We give a deterministic algorithm which can return an estimate within a factor of (4 + ε) using O(1/ε 2 log 2 (εw)) space. We also extend the study in two directions. First, we consider a stream where each item is associated with a value from a partial ordered set. We give a randomized (4 + ε)-approximate algorithm using O(1/ε 2 log ε 2 w log w) space. Second, we consider an out-of-order stream where each item is associated with a creation time and a numerical value, and items may be out of order with respect to their creation times. The goal is to estimate the edit distance to monotonicity with respect to the numerical value of items arranged in the order of creation times. We show that any randomized constant-approximate algorithm requires linear space.
AB - Given a stream of items each associated with a numerical value, its edit distance to monotonicity is the minimum number of items to remove so that the remaining items are non-decreasing with respect to the numerical value. The space complexity of estimating the edit distance to monotonicity of a data stream is becoming well-understood over the past few years. Motivated by applications on network quality monitoring, we extend the study to estimating the edit distance to monotonicity of a sliding window covering the w most recent items in the stream for any w ≥ 1. We give a deterministic algorithm which can return an estimate within a factor of (4 + ε) using O(1/ε 2 log 2 (εw)) space. We also extend the study in two directions. First, we consider a stream where each item is associated with a value from a partial ordered set. We give a randomized (4 + ε)-approximate algorithm using O(1/ε 2 log ε 2 w log w) space. Second, we consider an out-of-order stream where each item is associated with a creation time and a numerical value, and items may be out of order with respect to their creation times. The goal is to estimate the edit distance to monotonicity with respect to the numerical value of items arranged in the order of creation times. We show that any randomized constant-approximate algorithm requires linear space.
UR - https://www.scopus.com/pages/publications/84055190814
U2 - 10.1007/978-3-642-25591-5_58
DO - 10.1007/978-3-642-25591-5_58
M3 - Conference contribution
AN - SCOPUS:84055190814
SN - 9783642255908
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 564
EP - 573
BT - Algorithms and Computation - 22nd International Symposium, ISAAC 2011, Proceedings
T2 - 22nd International Symposium on Algorithms and Computation, ISAAC 2011
Y2 - 5 December 2011 through 8 December 2011
ER -