Shortest Non-trivial Cycles in Directed and Undirected Surface Graphs

Let G be a graph embedded on a surface of genus g with b boundary cycles. We describe algorithms to compute multiple types of non-trivial cycles in G, using different techniques depending on whether or not G is an undirected graph. If G is undirected, then we give an algorithm to compute a shortest non-separating cycle in 2^O(g) n log log n time. Similar algorithms are given to compute a shortest non-contractible or non-null-homologous cycle in 2^O(g+b) n log log n time. Our algorithms for undirected G combine an algorithm of Kutz with known techniques for efficiently enumerating homotopy classes of curves that may be shortest non-trivial cycles. Our main technical contributions in this work arise from assuming G is a directed graph with possibly asymmetric edge weights. For this case, we give an algorithm to compute a shortest non-contractible cycle in G in O((g^3 + g b)n log n) time. In order to achieve this time bound, we use a restriction of the infinite cyclic cover that may be useful in other contexts. We also describe an algorithm to compute a shortest non-null-homologous cycle in G in O((g^2 + g b)n log n) time, extending a known algorithm of Erickson to compute a shortest non-separating cycle. In both the undirected and directed cases, our algorithms improve the best time bounds known for many values of g and b.

[1]  Bruce A. Reed,et al.  Computing crossing number in linear time , 2007, STOC '07.

[2]  Alon Itai,et al.  Maximum Flow in Planar Networks , 1979, SIAM J. Comput..

[3]  David Eppstein,et al.  Dynamic generators of topologically embedded graphs , 2002, SODA '03.

[4]  Carsten Thomassen,et al.  Embeddings of graphs with no short noncontractible cycles , 1990, J. Comb. Theory, Ser. B.

[5]  Jeff Erickson,et al.  Tightening non-simple paths and cycles on surfaces , 2006, SODA 2006.

[6]  Carsten Thomassen,et al.  Graphs on Surfaces , 2001, Johns Hopkins series in the mathematical sciences.

[7]  Philip N. Klein,et al.  Multiple-source shortest paths in planar graphs , 2005, SODA '05.

[8]  Amir Nayyeri,et al.  Minimum cuts and shortest non-separating cycles via homology covers , 2011, SODA '11.

[9]  Erin W. Chambers,et al.  Homology flows, cohomology cuts , 2009, STOC '09.

[10]  Václav Koubek,et al.  Minimum cut in directed planar networks , 1992, Kybernetika.

[11]  Amir Nayyeri,et al.  Shortest non-crossing walks in the plane , 2011, SODA '11.

[12]  Piotr Indyk,et al.  Probabilistic embeddings of bounded genus graphs into planar graphs , 2007, SCG '07.

[13]  Philip N. Klein,et al.  Faster Shortest-Path Algorithms for Planar Graphs , 1997, J. Comput. Syst. Sci..

[14]  J. Stillwell Classical topology and combinatorial group theory , 1980 .

[15]  Martin Kutz,et al.  Computing shortest non-trivial cycles on orientable surfaces of bounded genus in almost linear time , 2005, SCG '06.

[16]  Chao Chen,et al.  Quantifying Homology Classes II: Localization and Stability , 2007, ArXiv.

[17]  Philip N. Klein,et al.  An O (n log n) algorithm for maximum st-flow in a directed planar graph , 2006, SODA '06.

[18]  Jeff Erickson,et al.  Computing the Shortest Essential Cycle , 2010, Discret. Comput. Geom..

[19]  R. Ho Algebraic Topology , 2022 .

[20]  Glencora Borradaile,et al.  Randomly removing g handles at once , 2010, Comput. Geom..

[21]  Karsten Weihe Maximum (s,t)-flows in planar networks in O(|V|log|V|) time , 1994, Proceedings 35th Annual Symposium on Foundations of Computer Science.

[22]  Vijay V. Vazirani,et al.  Matching is as easy as matrix inversion , 1987, STOC.

[23]  Jeff Erickson Shortest non-trivial cycles in directed surface graphs , 2011, SoCG '11.

[24]  Sergio Cabello Finding shortest contractible and shortest separating cycles in embedded graphs , 2010, TALG.

[25]  Haim Kaplan,et al.  Minimum s-t cut in undirected planar graphs when the source and the sink are close , 2011, STACS.

[26]  Bojan Mohar,et al.  Finding Shortest Non-Separating and Non-Contractible Cycles for Topologically Embedded Graphs , 2007, Discret. Comput. Geom..

[27]  Glencora Borradaile,et al.  Polynomial-Time Approximation Schemes for Subset-Connectivity Problems in Bounded-Genus Graphs , 2012, Algorithmica.

[28]  Erin W. Chambers,et al.  Multiple source shortest paths in a genus g graph , 2007, SODA '07.

[29]  Bojan Mohar,et al.  Finding one tight cycle , 2008, SODA '08.

[30]  Jeff Erickson,et al.  Optimally Cutting a Surface into a Disk , 2002, SCG '02.

[31]  Sergio Cabello,et al.  Output-sensitive algorithm for the edge-width of an embedded graph , 2010, SoCG '10.

[32]  Greg N. Frederickson,et al.  Fast Algorithms for Shortest Paths in Planar Graphs, with Applications , 1987, SIAM J. Comput..

[33]  Erin W. Chambers,et al.  Splitting (complicated) surfaces is hard , 2008, Comput. Geom..

[34]  Erin W. Chambers,et al.  Multiple-Source Shortest Paths in Embedded Graphs , 2012, SIAM J. Comput..

[35]  Sergio Cabello,et al.  Finding shortest non-trivial cycles in directed graphs on surfaces , 2010, J. Comput. Geom..

[36]  Andrew V. Goldberg,et al.  A new approach to the maximum flow problem , 1986, STOC '86.

[37]  Sergio Cabello,et al.  Finding Cycles with Topological Properties in Embedded Graphs , 2011, SIAM J. Discret. Math..

[38]  Zoë J. Wood,et al.  Topological Noise Removal , 2001, Graphics Interface.

[39]  Erik D. Demaine,et al.  Approximation algorithms via contraction decomposition , 2007, SODA '07.

[40]  Ken-ichi Kawarabayashi,et al.  Graph and map isomorphism and all polyhedral embeddings in linear time , 2008, STOC.

[41]  John H. Reif,et al.  Minimum s-t Cut of a Planar Undirected Network in O(n log2(n)) Time , 1983, SIAM J. Comput..

[42]  Jonathan L. Gross,et al.  Topological Graph Theory , 1987, Handbook of Graph Theory.

[43]  K. Weihe Maximum (s,t)-Flows in Planar Networks in O( , 1997 .

[44]  Piotr Sankowski,et al.  Improved algorithms for min cut and max flow in undirected planar graphs , 2011, STOC '11.

[45]  Jeff Erickson,et al.  Greedy optimal homotopy and homology generators , 2005, SODA '05.

[46]  Éric Colin de Verdière Shortest Cut Graph of a Surface with Prescribed Vertex Set , 2010, ESA.

[47]  Jeff Erickson,et al.  Maximum flows and parametric shortest paths in planar graphs , 2010, SODA '10.

[48]  Erin W. Chambers,et al.  Minimum cuts and shortest homologous cycles , 2009, SCG '09.

[49]  Mathieu Desbrun,et al.  Removing excess topology from isosurfaces , 2004, TOGS.

[50]  Robert E. Tarjan,et al.  A data structure for dynamic trees , 1981, STOC '81.