Author:
Glazik Christian,Schiemann Jan,Srivastav Anand
Abstract
AbstractGiven an undirected graph G on n nodes and m edges in the form of a data stream we study the problem of finding an Euler tour in G. Our main result is the first one-pass streaming algorithm computing an Euler tour of G in the form of an edge successor function with only $\mathcal O(n\log (n))$
O
(
n
log
(
n
)
)
RAM, which is optimal for this setting (e.g. Sun and Woodruff (2015)). Since the output size can be much larger, we use a write-only tape to gradually output the solution. The previously best-known result for finding Euler tours in data streams is implicitly given by the W-stream algorithm of Demetrescu et al. (2010) using $\mathcal O(m/n)$
O
(
m
/
n
)
passes under the same RAM limitation. Our approach is to partition the edges into edge-disjoint cycles and to merge the cycles until a single Euler tour is achieved. In the streaming environment such a merging is far from being obvious as the limited RAM allows the processing of only a constant number of cycles at once. This enforces merging of cycles that partially are no longer present in RAM. We solve this problem with a new edge swapping technique, for which storing two certain edges per node is sufficient to merge tours without having all tour edges in RAM. The mathematical key is to model tours and their merging in an algebraic way, where certain equivalence classes represent subtours. This quite general approach might be of interest also in other routing problems.
Funder
Christian-Albrechts-Universität zu Kiel
Publisher
Springer Science and Business Media LLC
Subject
Computational Theory and Mathematics,Theoretical Computer Science
Reference12 articles.
1. Christofides, N: Worst-case analysis of a new heuristic for the travelling salesman problem. Technical Report, Graduate School of Industrial Administration, Carnegie Mellon University (1976)
2. Pevzner, PA, Tang, H, Waterman, MS: An eulerian path approach to dna fragment assembly. Proc. Natl. Acad. Sci. 98(17), 9748–9753 (2001)
3. Feigenbaum, J, Kannan, S, McGregor, A, Suri, S, Zhang, J: On graph problems in a semi-streaming model. Theor. Comput. Sci. 348 (2), 207–216 (2005)
4. McGregor, A: Graph stream algorithms: A survey. SIGMOD Rec. 43(1), 9–20 (2014)
5. Atallah, M, Vishkin, U: Finding euler tours in parallel. J. Comput. Syst. Sci. 29(3), 330–337 (1984)
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献