Abstract
We consider the problem of sampling simple paths between two given vertices in a planar graph and propose a natural Markov chain exploring such paths by means of “local” modifications. This chain can be tuned so that the probability of sampling a path depends on its length (for instance, output shorter paths with higher probability than longer ones). We show that this chain is always ergodic and thus it converges to the desired sampling distribution for any planar graph. While this chain is not rapidly mixing in general, we prove that a simple restricted variant is. The restricted chain samples paths on a 2D lattice which are monotone in the vertical direction. To the best of our knowledge, this is the first example of a rapidly mixing Markov chain for sampling simple paths with a probability that depends on their lengths.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The analysis of non-reversible Markov chains is in general rather difficult and it is considered an interesting problem also for simple chains [4].
References
Bordewich, M., Dyer, M.E.: Path coupling without contraction. J. Discrete Algorithms 5(2), 280–292 (2007)
Bordewich, M., Dyer, M.E., Karpinski, M.: Path coupling using stopping times and counting independent sets and colorings in hypergraphs. Random Struct. Algorithms 32(3), 375–399 (2008)
Bubley, R.: Randomized Algorithms: Approximation, Generation, and Counting. Springer, Heidelberg (2011)
Diaconis, P., Holmes, S., Neal, R.M.: Analysis of a nonreversible Markov chain sampler. Ann. Appl. Probab. 10, 726–752 (2000)
Došlić, T.: Seven (lattice) paths to log-convexity. Acta Applicandae Math. 110(3), 1373–1392 (2010)
Dyer, M., Flaxman, A.D., Frieze, A.M., Vigoda, E.: Randomly coloring sparse random graphs with fewer colors than the maximum degree. Random Struct. Algorithms 29(4), 450–465 (2006)
Dyer, M., Frieze, A., Hayes, T.P., Vigoda, E.: Randomly coloring constant degree graphs. Random Struct. Algorithms 43(2), 181–200 (2013)
Dyer, M.E., Frieze, A.M.: Randomly coloring random graphs. Random Struct. Algorithms 36(3), 251–272 (2010)
Dyer, M.E., Greenhill, C.S.: On markov chains for independent sets. J. Algorithms 35(1), 17–49 (2000)
Greenberg, S., Pascoe, A., Randall, D.: Sampling biased lattice configurations using exponential metrics. In: SODA, pp. 76–85 (2009)
Hayes, T.P., Vera, J.C., Vigoda, E.: Randomly coloring planar graphs with fewer colors than the maximum degree. Random Struct. Algorithms 46(2), 29–44 (2014)
Jerrum, M., Sinclair, A., Vigoda, E.: A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries. J. ACM 51(4), 671–697 (2004)
Jerrum, M., Valiant, L.G., Vazirani, V.V.: Random generation of combinatorial structures from a uniform distribution. Theor. Comput. Sci. 43, 169–188 (1986)
Levin, D.A., Peres, Y., Wilmer, E.L.: Markov chains and mixing times. Am. Math. Soc. 30 (2009)
Luby, M., Randall, D., Sinclair, A.: Markov chain algorithms for planar lattice structures. SIAM J. Comput. 31(1), 167–192 (2001)
Luby, M., Vigoda, E.: Approximately counting up to four. In: STOC, pp. 682–687 (1997)
Martin, R.A., Randall, D.: Sampling adsorbing staircase walks using a new Markov chain decomposition method. In: FOCS, pp. 492–502 (2000)
Morris, B., Sinclair, A.: Random walks on truncated cubes and sampling 0–1 knapsack solutions. SIAM J. Comput. 34(1), 195–226 (2004)
Provan, J.S.: The complexity of reliability computations in planar and acyclic graphs. SIAM J. Comput. 15(3), 694–702 (1986)
Randall, D., Sinclair, A.: Self-testing algorithms for self-avoiding walks. J. Math. Phy. 41(3), 1570–1584 (2000)
Roberts, B., Kroese, D.P.: Estimating the number of s-t paths in a graph. J. Graph Algorithms Appl. 11(1), 195–214 (2007)
Sinclair, A., Jerrum, M.: Approximate counting, uniform generation and rapidly mixing Markov chains. Inf. Comput. 82(1), 93–133 (1989)
Valiant, L.G.: The complexity of enumeration and reliability problems. SIAM J. Comput. 8(3), 410–421 (1979)
Acknowledgments
We are grateful to Francesco Pasquale for comments on an earlier version of this work. We also wish to thank the anonymous referees for pointing out relations to the class of outerplanar graphs, and the use of dynamic programming for the vertical-monotone paths. Part of this work has been done while the second author was at ETH Zurich. This work is supported by the EU FP7/2007-2013 (DG CONNECT.H5-Smart Cities and Sustainability), under grant agreement no. 288094 (project eCOMPASS), and by the French ANR Project DISPLEXITY.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Montanari, S., Penna, P. (2015). On Sampling Simple Paths in Planar Graphs According to Their Lengths. In: Italiano, G., Pighizzini, G., Sannella, D. (eds) Mathematical Foundations of Computer Science 2015. MFCS 2015. Lecture Notes in Computer Science(), vol 9235. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-48054-0_41
Download citation
DOI: https://doi.org/10.1007/978-3-662-48054-0_41
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-48053-3
Online ISBN: 978-3-662-48054-0
eBook Packages: Computer ScienceComputer Science (R0)