Skip to main content

On Sampling Simple Paths in Planar Graphs According to Their Lengths

  • Conference paper
  • First Online:
Mathematical Foundations of Computer Science 2015 (MFCS 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9235))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 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

  1. Bordewich, M., Dyer, M.E.: Path coupling without contraction. J. Discrete Algorithms 5(2), 280–292 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  2. 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)

    Article  MathSciNet  MATH  Google Scholar 

  3. Bubley, R.: Randomized Algorithms: Approximation, Generation, and Counting. Springer, Heidelberg (2011)

    MATH  Google Scholar 

  4. Diaconis, P., Holmes, S., Neal, R.M.: Analysis of a nonreversible Markov chain sampler. Ann. Appl. Probab. 10, 726–752 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  5. Došlić, T.: Seven (lattice) paths to log-convexity. Acta Applicandae Math. 110(3), 1373–1392 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  6. 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)

    Article  MathSciNet  MATH  Google Scholar 

  7. Dyer, M., Frieze, A., Hayes, T.P., Vigoda, E.: Randomly coloring constant degree graphs. Random Struct. Algorithms 43(2), 181–200 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  8. Dyer, M.E., Frieze, A.M.: Randomly coloring random graphs. Random Struct. Algorithms 36(3), 251–272 (2010)

    MathSciNet  MATH  Google Scholar 

  9. Dyer, M.E., Greenhill, C.S.: On markov chains for independent sets. J. Algorithms 35(1), 17–49 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  10. Greenberg, S., Pascoe, A., Randall, D.: Sampling biased lattice configurations using exponential metrics. In: SODA, pp. 76–85 (2009)

    Google Scholar 

  11. 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)

    MathSciNet  MATH  Google Scholar 

  12. 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)

    Article  MathSciNet  MATH  Google Scholar 

  13. Jerrum, M., Valiant, L.G., Vazirani, V.V.: Random generation of combinatorial structures from a uniform distribution. Theor. Comput. Sci. 43, 169–188 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  14. Levin, D.A., Peres, Y., Wilmer, E.L.: Markov chains and mixing times. Am. Math. Soc. 30 (2009)

    Google Scholar 

  15. Luby, M., Randall, D., Sinclair, A.: Markov chain algorithms for planar lattice structures. SIAM J. Comput. 31(1), 167–192 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  16. Luby, M., Vigoda, E.: Approximately counting up to four. In: STOC, pp. 682–687 (1997)

    Google Scholar 

  17. Martin, R.A., Randall, D.: Sampling adsorbing staircase walks using a new Markov chain decomposition method. In: FOCS, pp. 492–502 (2000)

    Google Scholar 

  18. Morris, B., Sinclair, A.: Random walks on truncated cubes and sampling 0–1 knapsack solutions. SIAM J. Comput. 34(1), 195–226 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  19. Provan, J.S.: The complexity of reliability computations in planar and acyclic graphs. SIAM J. Comput. 15(3), 694–702 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  20. Randall, D., Sinclair, A.: Self-testing algorithms for self-avoiding walks. J. Math. Phy. 41(3), 1570–1584 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  21. Roberts, B., Kroese, D.P.: Estimating the number of s-t paths in a graph. J. Graph Algorithms Appl. 11(1), 195–214 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  22. Sinclair, A., Jerrum, M.: Approximate counting, uniform generation and rapidly mixing Markov chains. Inf. Comput. 82(1), 93–133 (1989)

    Article  MathSciNet  MATH  Google Scholar 

  23. Valiant, L.G.: The complexity of enumeration and reliability problems. SIAM J. Comput. 8(3), 410–421 (1979)

    Article  MathSciNet  MATH  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Sandro Montanari .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics