Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Connectivity Oracles for Graphs Subject to Vertex Failures

Published: 01 January 2020 Publication History
  • Get Citation Alerts
  • Abstract

    We introduce new data structures for answering connectivity queries in graphs subject to batched vertex failures. A deterministic structure processes a batch of $d\leq d_\star$ failed vertices in $\tilde{O}(d^3)$ time and thereafter answers connectivity queries in $O(d)$ time. It occupies space $O(d_\star m\log n)$. We develop a randomized Monte Carlo version of our data structure with update time $\tilde{O}(d^2)$, query time $O(d)$, and space $\tilde{O}(m)$ for any failure bound $d\le n$. This is the first connectivity oracle for general graphs that can efficiently deal with an unbounded number of vertex failures. We also develop a more efficient Monte Carlo edge failure connectivity oracle. Using space $O(n\log^2 n)$, $d$ edge failures are processed in $O(d\log d\log\log n)$ time, and thereafter, connectivity queries are answered in $O(\log\log n)$ time, which are correct with high probability. Our data structures are based on a new decomposition theorem for an undirected graph $G=(V,E)$, which is of independent interest. It states that for any terminal set $U\subseteq V$ we can remove a set $B$ of $|U|/(s-2)$ vertices such that the remaining graph contains a Steiner forest for $U-B$ with maximum degree $s$.

    References

    [1]
    I. Abraham, S. Chechik, and C. Gavoille, Fully dynamic approximate distance oracles for planar graphs via forbidden-set distance labels, in Proceedings of the 44th ACM Symposium on Theory of Computing, 2012, pp. 1199--1218, https://doi.org/10.1145/2213977.2214084.
    [2]
    I. Abraham, S. Chechik, C. Gavoille, and D. Peleg, Forbidden-set distance labels for graphs of bounded doubling dimension, ACM Trans. Algorithms, 12 (2016), 22, https://doi.org/10.1145/2818694.
    [3]
    K. J. Ahn, S. Guha, and A. McGregor, Analyzing graph structure via linear measurements, in Proceedings of the 23rd Annual ACM-SIAM Symposium on Discrete Algorithms, 2012, pp. 459--467.
    [4]
    S. Arora, E. Hazan, and S. Kale, ${O}(\sqrt{\log n})$ approximation to SPARSEST CUT in $\tilde{O}(n^2)$ time, SIAM J. Comput., 39 (2010), pp. 1748--1771, https://doi.org/10.1137/080731049.
    [5]
    S. Arora, S. Rao, and U. V. Vazirani, Expander flows, geometric embeddings and graph partitioning, J. ACM, 56 (2009).
    [6]
    I. Baran, E. D. Demaine, and M. Pǎtraşcu, Subquadratic algorithms for 3SUM, Algorithmica, 50 (2008), pp. 584--596.
    [7]
    D. Barnette, Trees in polyhedral graphs, Canad. J. Math., 18 (1966), pp. 731--736.
    [8]
    S. Basawna, U. Lath, and A. S. Mehta, Single source distance oracle for planar digraphs avoiding any failed node or link, in Proceedings of the 23rd ACM-SIAM Symposium on Discrete Algorithms, 2012, pp. 223--232.
    [9]
    S. Baswana, S. R. Chaudhury, K. Choudhary, and S. Khan, Dynamic DFS in undirected graphs: Breaking the $o(m)$ barrier, in Proceedings of the 27th Annual ACM-SIAM Symposium on Discrete Algorithms, 2016, pp. 730--739, https://doi.org/10.1137/1.9781611974331.ch52.
    [10]
    S. Baswana, K. Choudhary, and L. Roditty, Fault tolerant subgraph for single source reachability: generic and optimal, in Proceedings of the 48th Annual ACM Symposium on Theory of Computing, 2016, pp. 509--518, https://doi.org/10.1145/2897518.2897648.
    [11]
    G. D. Battista and R. Tamassia, On-line maintenance of triconnected components with SPQR-trees, Algorithmica, 15 (1996), pp. 302--318.
    [12]
    M. A. Bender and M. Farach-Colton, The LCA problem revisited, in Proceedings of the 4th Latin American Symposium on Theoretical Informatics, Lecture Notes in Comput. Sci. 1776, Springer, New York, 2000, pp. 88--94.
    [13]
    M. A. Bender and M. Farach-Colton, The level ancestor problem simplified, Theoret. Comput. Sci., 321 (2004), pp. 5--12.
    [14]
    A. Bernstein and D. Karger, A nearly optimal oracle for avoiding failed vertices and edges, in Proceedings of the 41st Annual ACM Symposium on Theory of Computing, 2009, pp. 101--110.
    [15]
    D. Bilò, F. Grandoni, L. Gualà, S. Leucci, and G. Proietti, Improved purely additive fault-tolerant spanners, in Proceedings of the 23rd Annual European Symposium on Algorithms, 2015, pp. 167--178, https://doi.org/10.1007/978-3-662-48350-3_15.
    [16]
    G. Borradaile, S. Pettie, and C. Wulff-Nilsen, Connectivity oracles for planar graphs, in Proceedings of the 13th Scandinavian Symposium and Workshops on Algorithm Theory, 2012, pp. 316--327, https://doi.org/10.1007/978-3-642-31155-0_28.
    [17]
    O. Bor\ruvka, O jistém problému minimálním, Práce Moravské Přírodovědecké Společnosti, 3 (1926), pp. 37--58.
    [18]
    G. Braunschvig, S. Chechik, and D. Peleg, Fault tolerant additive spanners, in Proceedings of the 38th International Workshop on Graph-Theoretic Concepts in Computer Science, 2012, pp. 206--214, https://doi.org/10.1007/978-3-642-34611-8_22.
    [19]
    G. Braunschvig, S. Chechik, D. Peleg, and A. Sealfon, Fault tolerant additive and $(\mu, \alpha)$-spanners, Theoret. Comput. Sci., 580 (2015), pp. 94--100, https://doi.org/10.1016/j.tcs.2015.02.036.
    [20]
    T. Chan, Dynamic subgraph connectivity with geometric applications, SIAM J. Comput., 36 (2006), pp. 681--694.
    [21]
    T. M. Chan, K. G. Larsen, and M. Pǎtraşcu, Orthogonal range searching on the RAM, revisited, in Proceedings of the 27th ACM Symposium on Computational Geometry, 2011, pp. 1--10, https://doi.org/10.1145/1998196.1998198.
    [22]
    T. M. Chan, M. Pǎtraşcu, and L. Roditty, Dynamic connectivity: Connecting to networks and geometry, SIAM J. Comput., 40 (2011), pp. 333--349.
    [23]
    T. M. Chan and B. T. Wilkinson, Adaptive and approximate orthogonal range counting, in Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms, 2013, pp. 241--251, https://doi.org/10.1137/1.9781611973105.18.
    [24]
    S. Chechik, M. Langberg, D. Peleg, and L. Roditty, Fault tolerant spanners for general graphs, SIAM J. Comput., 39 (2010), pp. 3403--3423.
    [25]
    S. Chechik, M. Langberg, D. Peleg, and L. Roditty, $f$-sensitivity distance oracles and routing schemes, Algorithmica, 63 (2012), pp. 861--882, https://doi.org/10.1007/s00453-011-9543-0.
    [26]
    L. Chen, R. Duan, R. Wang, H. Zhang, and T. Zhang, An improved algorithm for incremental DFS tree in undirected graphs, in Proceedings of the 16th Scandinavian Symposium and Workshops on Algorithm Theory, LIPIcs. Leibniz Int. Proc. Inform. 101, Schloss Dagstuhl, 2018, pp. 16:1--16:12, https://doi.org/10.4230/LIPIcs.SWAT.2018.16.
    [27]
    K. W. Chong, Y. Han, and T. W. Lam, Concurrent threads and optimal parallel minimum spanning trees algorithm, J. ACM, 48 (2001), pp. 297--323.
    [28]
    K. W. Chong and T. W. Lam, Finding connected components in ${O}(\log n\log\log n)$ time on the EREW PRAM, J. Algorithms, 18 (1995), pp. 378--402.
    [29]
    K. Choudhary, An optimal dual fault tolerant reachability oracle, in Proceedings of the 43rd International Colloquium on Automata, Languages, and Programming, 2016.
    [30]
    A. Czumaj and W.-B. Strothmann, Bounded degree spanning trees, in Proceedings of the 5th Annual European Symposium on Algorithms, 1997, pp. 104--117, https://doi.org/10.1007/3-540-63397-9_9.
    [31]
    C. Demetrescu, M. Thorup, R. A. Chowdhury, and V. Ramachandran, Oracles for distances avoiding a failed node or link, SIAM J. Comput., 37 (2008), pp. 1299--1318.
    [32]
    E. A. Dinic, A. V. Karzanov, and M. V. Lomonosov, On the structure of the system of minimum edge cuts in a graph, Stud. Discrete Optim., (1976), pp. 290--306 (in Russian).
    [33]
    M. Dinitz and R. Krauthgamer, Fault-tolerant spanners: Better and simpler, in Proceedings of the 30th ACM Symposium on Principles of Distributed Computing, 2011, pp. 169--178.
    [34]
    Y. Dinitz and Z. Nutov, A 2-level cactus model for the system of minimum and minimum+1 edge-cuts in a graph and its incremental maintenance, in Proceedings of the 27th ACM Symposium on Theory of Computing, 1995, pp. 509--518.
    [35]
    Y. Dinitz and Z. Nutov, A 2-Level Cactus Tree Model for the System of Minimum and Minimum+1 Edge Cuts of a Graph and Its Incremental Maintenance. Part I: The Odd Case, unpublished manuscript, 1999.
    [36]
    Y. Dinitz and Z. Nutov, A 2-Level Cactus Tree Model for the System of Minimum and Minimum+1 Edge Cuts of a Graph and Its Incremental Maintenance. Part II: The Even Case, unpublished manuscript, 1999.
    [37]
    Y. Dinitz and J. Westbrook, Maintaining the classes of 4-edge-connectivity in a graph on-line, Algorithmica, 20 (1998), pp. 242--276.
    [38]
    R. Duan, New data structures for subgraph connectivity, in Proceedings of the 37th International Colloquium on Automata, Languages and Programming, 2010, pp. 201--212.
    [39]
    R. Duan and S. Pettie, Dual-failure distance and connectivity oracles, in Proceedings of the 20th ACM-SIAM Symposium on Discrete Algorithms, 2009, pp. 506--515.
    [40]
    R. Duan and S. Pettie, Connectivity oracles for failure prone graphs, in Proceedings of the 42nd ACM Symposium on Theory of Computing, 2010, pp. 465--474.
    [41]
    R. Duan and S. Pettie, Connectivity oracles for graphs subject to vertex failures, in Proceedings of the 28th ACM-SIAM Symposium on Discrete Algorithms, 2017, pp. 490--509.
    [42]
    R. Duan and L. Zhang, Faster randomized worst-case update time for dynamic subgraph connectivity, in Proceedings of the 15th International Symposium on Algorithms and Data Structures, 2017, pp. 337--348, https://doi.org/10.1007/978-3-319-62127-2_29.
    [43]
    D. P. Dubhashi and A. Panconesi, Concentration of Measure for the Analysis of Randomized Algorithms, Cambridge University Press, Cambridge, MA, 2009.
    [44]
    D. Eppstein, Z. Galil, G. Italiano, and A. Nissenzweig, Sparsification---a technique for speeding up dynamic graph algorithms, J. ACM, 44 (1997), pp. 669--696.
    [45]
    G. Frederickson, Data structures for on-line updating of minimum spanning trees, with applications, SIAM J. Comput., 14 (1985), pp. 781--798.
    [46]
    A. Freund, Improved subquadratic 3SUM, Algorithmica, 77 (2017), pp. 440--458, https://doi.org/10.1007/s00453-015-0079-6.
    [47]
    D. Frigioni and G. F. Italiano, Dynamically switching vertices in planar graphs, Algorithmica, 28 (2000), pp. 76--103.
    [48]
    M. Fürer and B. Raghavachari, Approximating the minimum-degree Steiner tree to within one of optimal, J. Algorithms, 17 (1994), pp. 409--423, https://doi.org/10.1006/jagm.1994.1042.
    [49]
    H. N. Gabow and R. E. Tarjan, A linear-time algorithm for a special case of disjoint set union, J. Comput. System Sci., 30 (1985), pp. 209--221.
    [50]
    Z. Galil and G. Italiano, Maintaining the 3-edge-connected components of a graph on-line, SIAM J. Comput., 22 (1993), pp. 11--28.
    [51]
    D. Gibb, B. M. Kapron, V. King, and N. Thorn, Dynamic Graph Connectivity with Improved Worst Case Update Time and Sublinear Space, CoRR, abs/1509.06464, 2015.
    [52]
    O. Gold and M. Sharir, Improved Bounds for 3SUM, $k$-SUM, and Linear Degeneracy, in Proceedings of the 25th Annual European Symposium on Algorithms, K. Pruhs and C. Sohler, eds., LIPIcs. Leibniz Int. Proc. Inform. 87, Schloss Dagstuhl, 2017, pp. 42:1--42:13, https://doi.org/10.4230/LIPIcs.ESA.2017.42.
    [53]
    A. Grønlund and S. Pettie, Threesomes, degenerates, and love triangles, J. ACM, 65 (2018), pp. 22:1--22:25, https://doi.org/10.1145/3185378.
    [54]
    M. Henzinger, S. Krinninger, D. Nanongkai, and T. Saranurak, Unifying and strengthening hardness for dynamic problems via the online matrix-vector multiplication \nobreak conjecture, in Proceedings of the 47th Annual ACM Symposium on Theory of Computing, 2015, pp. 21--30.
    [55]
    M. Henzinger and S. Neumann, Incremental and fully dynamic subgraph connectivity for emergency planning, in Proceedings of the 24th Annual European Symposium on Algorithms, 2016, pp. 48:1--48:11.
    [56]
    J. Holm, K. de Lichtenberg, and M. Thorup, Poly-logarithmic deterministic fully-dynamic algorithms for connectivity, minimum spanning tree, 2-edge, and biconnectivity, J. ACM, 48 (2001), pp. 723--760.
    [57]
    S.-E. Huang, D. Huang, T. Kopelowitz, and S. Pettie, Fully dynamic connectivity in ${O}(\log n(\log \log n)^2)$ amortized expected time, in Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms, 2017, pp. 510--520, https://doi.org/10.1137/1.9781611974782.32.
    [58]
    J. JaJa, C. W. Mortensen, and Q. Shi, Space-efficient and fast algorithms for multidimensional dominance reporting and counting, in Proceedings of the 15th International Symposium on Algorithms and Computation, 2004, pp. 558--568, https://doi.org/10.1007/978-3-540-30551-4_49.
    [59]
    D. B. Johnson and P. Metaxas, Connected components in ${O}(\log^{3/2}n)$ parallel time for the CREW PRAM, J. Comput. System Sci., 54 (1997), pp. 227--242.
    [60]
    A. Kanevsky, R. Tamassia, G. D. Battista, and J. Chen, On-line maintenance of the four-connected components of a graph, in Proceedings of the 32nd IEEE Symposium on Foundations of Computer Science, 1991, pp. 793--801.
    [61]
    B. M. Kapron, V. King, and B. Mountjoy, Dynamic graph connectivity in polylogarithmic worst case time, in Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms, 2013, pp. 1131--1142.
    [62]
    C. Kejlberg-Rasmussen, T. Kopelowitz, S. Pettie, and M. Thorup, Faster worst case deterministic dynamic connectivity, in Proceedings of the 24th European Symposium on Algorithms, 2016, pp. 53:1--53:15.
    [63]
    T. Kopelowitz, S. Pettie, and E. Porat, Higher lower bounds from the 3SUM conjecture, in Proceedings of the 27th Annual ACM-SIAM Symposium on Discrete Algorithms, 2016, pp. 1272--1287, https://doi.org/10.1137/1.9781611974331.ch89.
    [64]
    K. G. Larsen and F. van Walderveen, Near-optimal range reporting structures for categorical data, in Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms, 2013, pp. 265--276, https://doi.org/10.1137/1.9781611973105.20.
    [65]
    K. G. Larsen and R. R. Williams, Faster online matrix-vector multiplication, in Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms, 2017, pp. 2182--2189, https://doi.org/10.1137/1.9781611974782.142.
    [66]
    M. Lewenstein, S. Pettie, and V. V. Williams, Structure and hardness in P (Dagstuhl Seminar 16451), Dagstuhl Reports, 6 (2016), pp. 1--34, https://doi.org/10.4230/DagRep.6.11.1.
    [67]
    H. Nagamochi and T. Ibaraki, A linear-time algorithm for finding a sparse $k$-connected spanning subgraph of a $k$-connected graph, Algorithmica, 7 (1992), pp. 583--596.
    [68]
    D. Nanongkai, T. Saranurak, and C. Wulff-Nilsen, Dynamic minimum spanning forest with subpolynomial worst-case update time, in Proceedings of the 58th Annual IEEE Symposium on Foundations of Computer Science, 2017, pp. 950--961.
    [69]
    M. Parter, Fault-tolerant logical network structures, Bull. Eur. Assoc. Theor. Comput. Sci. EATCS, 118 (2016).
    [70]
    M. Parter and D. Peleg, Sparse fault-tolerant BFS trees, in Proceedings of the 21st Annual European Symposium on Algorithms, 2013, pp. 779--790, https://doi.org/10.1007/978-3-642-40450-4_66.
    [71]
    M. Parter and D. Peleg, Fault tolerant approximate BFS structures, in Proceedings of the 25th Annual ACM-SIAM Symposium on Discrete Algorithms, 2014, pp. 1073--1092, https://doi.org/10.1137/1.9781611973402.80.
    [72]
    M. Pǎtraşcu and M. Thorup, Time-space trade-offs for predecessor search, in Proceedings of the 38th ACM Symposium on Theory of Computing, 2006, pp. 232--240.
    [73]
    M. Pǎtraşcu and M. Thorup, Planning for fast connectivity updates, in Proceedings of the 48th IEEE Symposium on Foundations of Computer Science, 2007, pp. 263--271.
    [74]
    S. Pettie and V. Ramachandran, A randomized time-work optimal parallel algorithm for finding a minimum spanning forest, SIAM J. Comput., 31 (2002), pp. 1879--1895.
    [75]
    J. A. L. Poutré, J. van Leeuwen, and M. H. Overmars, Maintenance of 2- and 3-edge- connected components of graphs I, Discrete Math., 114 (1993), pp. 329--359, https://doi.org/10.1016/0012-365X(93)90376-5.
    [76]
    M. Pǎtraşcu and M. Thorup, Randomization does not help searching predecessors, in Proceedings of the 18th Annual ACM-SIAM Symposium on Discrete Algorithms, 2007, pp. 555--564.
    [77]
    M. Pǎtraşcu and M. Thorup, Dynamic integer sets with optimal rank, select, and predecessor search, in Proceedings of the 55th Annual IEEE Symposium on Foundations of Computer Science, 2014, pp. 166--175, https://doi.org/10.1109/FOCS.2014.26.
    [78]
    J. Sherman, Breaking the multicommodity flow barrier for ${O}(\sqrt{\log n})$-approximations to sparsest cut, in Proceedings of the 50th Annual IEEE Symposium on Foundations of Computer Science, 2009, pp. 363--372, https://doi.org/10.1109/FOCS.2009.66.
    [79]
    W.-B. Strothmann, Bounded Degree Spanning Trees, dissertation, Universität Paderborn, Heinz Nixdorf Institut, Theoretische Informatik, 1997.
    [80]
    P. van Emde Boas, R. Kaas, and E. Zijlstra, Design and implementation of an efficient priority queue, Math. Syst. Theory, 10 (1977), pp. 99--127.
    [81]
    Z. Wang, An Improved Randomized Data Structure for Dynamic Graph Connectivity, CoRR, abs/1510.04590, 2015, http://arxiv.org/abs/1510.04590.
    [82]
    J. Westbrook and R. E. Tarjan, Maintaining bridge-connected and biconnected components on-line, Algorithmica, 7 (1992), pp. 433--464, https://doi.org/10.1007/BF01758773.
    [83]
    C. Wulff-Nilsen, Faster deterministic fully-dynamic graph connectivity, in Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms, 2013, pp. 1757--1769.

    Cited By

    View all
    • (2024)Connectivity Labeling and Routing with Multiple Vertex FailuresProceedings of the 56th Annual ACM Symposium on Theory of Computing10.1145/3618260.3649729(823-834)Online publication date: 10-Jun-2024
    • (2023)Deterministic Fault-Tolerant Connectivity Labeling SchemeProceedings of the 2023 ACM Symposium on Principles of Distributed Computing10.1145/3583668.3594584(190-199)Online publication date: 19-Jun-2023
    • (2022)Maintaining exact distances under multiple edge failuresProceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing10.1145/3519935.3520002(1093-1101)Online publication date: 9-Jun-2022

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image SIAM Journal on Computing
    SIAM Journal on Computing  Volume 49, Issue 6
    ISSN:0097-5397
    DOI:10.1137/smjcat.49.6
    Issue’s Table of Contents

    Publisher

    Society for Industrial and Applied Mathematics

    United States

    Publication History

    Published: 01 January 2020

    Author Tags

    1. graph connecitivity
    2. dynamic graph
    3. graph sketching
    4. Steiner tree

    Author Tags

    1. 05C40
    2. 05C85
    3. 68R10

    Qualifiers

    • Research-article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Connectivity Labeling and Routing with Multiple Vertex FailuresProceedings of the 56th Annual ACM Symposium on Theory of Computing10.1145/3618260.3649729(823-834)Online publication date: 10-Jun-2024
    • (2023)Deterministic Fault-Tolerant Connectivity Labeling SchemeProceedings of the 2023 ACM Symposium on Principles of Distributed Computing10.1145/3583668.3594584(190-199)Online publication date: 19-Jun-2023
    • (2022)Maintaining exact distances under multiple edge failuresProceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing10.1145/3519935.3520002(1093-1101)Online publication date: 9-Jun-2022

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media