English

Streaming Algorithms for Graph k-Matching with Optimal or Near-Optimal Update Time

Data Structures and Algorithms 2023-10-18 v1

Abstract

We present streaming algorithms for the graph kk-matching problem in both the insert-only and dynamic models. Our algorithms, with space complexity matching the best upper bounds, have optimal or near-optimal update time, significantly improving on previous results. More specifically, for the insert-only streaming model, we present a one-pass algorithm with optimal space complexity O(k2)O(k^2) and optimal update time O(1)O(1), that with high probability computes a maximum weighted kk-matching of a given weighted graph. The update time of our algorithm significantly improves the previous upper bound of O(logk)O(\log k), which was derived only for kk-matching on unweighted graphs. For the dynamic streaming model, we present a one-pass algorithm that with high probability computes a maximum weighted kk-matching in O(Wk2\mboxpolylog(n)O(Wk^2 \cdot \mbox{polylog}(n) space and with O(\mboxpolylog(n))O(\mbox{polylog}(n)) update time, where WW is the number of distinct edge weights. Again the update time of our algorithm improves the previous upper bound of O(k2\mboxpolylog(n))O(k^2 \cdot \mbox{polylog}(n)). This algorithm, when applied to unweighted graphs, gives a streaming algorithm on the dynamic model whose space and update time complexities are both near-optimal. Our results also imply a streaming approximation algorithm for maximum weighted kk-matching whose space complexity matches the best known upper bound with a significantly improved update time.

Keywords

Cite

@article{arxiv.2310.10815,
  title  = {Streaming Algorithms for Graph k-Matching with Optimal or Near-Optimal Update Time},
  author = {Jianer Chen and Qin Huang and Iyad Kanj and Qian Li and Ge Xia},
  journal= {arXiv preprint arXiv:2310.10815},
  year   = {2023}
}
R2 v1 2026-06-28T12:52:39.572Z