Skip to main content
Log in

Enumerating Simple Paths from Connected Induced Subgraphs

  • Original Paper
  • Published:
Graphs and Combinatorics Aims and scope Submit manuscript

Abstract

We present an exact formula for enumerating the simple paths between any two vertices of a graph. Our formula involves the adjacency matrices of the connected induced subgraphs and remains valid on weighted and directed graphs. As a particular case, we obtain a relation linking the Hamiltonian paths and cycles of a graph to its dominating connected sets.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Alon, N., Yuster, R., Zwick, U.: Finding and counting given length cycles. Algorithmica 17, 209–223 (1997)

    Article  MathSciNet  Google Scholar 

  2. Bax, E.T.: Inclusion and exclusion algorithm for the hamiltonian path problem. Inf. Process. Lett. 47(4), 203–207 (1993)

    Article  MathSciNet  Google Scholar 

  3. Bax, E.T.: Algorithms to count paths and cycles. Inf. Process. Lett. 52(5), 249–252 (1994)

    Article  MathSciNet  Google Scholar 

  4. Bax, E., Franklin, J.: A finite-difference sieve to count paths and cycles by length. Inf. Process. Lett. 60(4), 171–176 (1996)

    Article  MathSciNet  Google Scholar 

  5. Björklund, A., Husfeldt, T., Kaski, P., Koivisto, M. (2009) Counting Paths and Packings in Halves. In: Fiat, A., Sanders, P. (eds) Algorithms - ESA 2009. ESA 2009. Lecture Notes in Computer Science, vol 5757, pp 578–586. Springer, Berlin, Heidelberg (2009)

    MATH  Google Scholar 

  6. Björklund, A., Husfeldt, T., Kaski, P., Koivisto, M.: The travelling salesman problem in bounded degree graphs. ACM Trans Algorithms 8(2) (2012)

    Article  MathSciNet  Google Scholar 

  7. Cartwright, D., Harary, F.: Structural balance: a generalization of heider’s theory. Psychol. Rev. 63, 277–293 (1956)

    Article  Google Scholar 

  8. Cash, G.G.: The number of n-cycles in a graph. Appl. Math. Comput. 184(2), 1080–1083 (2007)

    MathSciNet  MATH  Google Scholar 

  9. Harary, F., Manvel, B.: On the number of cycles in a graph. Matematický časopis 21, 55–63 (1971)

    MathSciNet  MATH  Google Scholar 

  10. Karp, R.M.: Dynamic programming meets the principle of inclusion and exclusion. Oper. Res. Lett. 1(2), 49–51 (1982)

    Article  MathSciNet  Google Scholar 

  11. Khomenko, N.P., Golovko, L.D.: Identifying certain types of parts of a graph and computing their number. Ukrainskii Matematicheskii Zhurnal 24, 385–396 (1972)

    Google Scholar 

  12. Madras, N., Slade, G.: The self-avoiding walk. Springer Science & Business Media (2013)

  13. Perepechko, S.N., Voropaev, A.N.: The number of fixed length cycles in an undirected graph. explicit formulae in case of small lengths. In: Mathematical Modeling and Computational Physics (MMCP2009), pp. 148–149 (2009)

  14. Ross, I.C., Harary, F.: On the determination of redundancies in sociometric chains. Psychometrika 17, 195–208 (1952)

    Article  Google Scholar 

  15. Schott, R., Staples, G.S.: Complexity of counting cycles using zeons. Comput. Math. Appl. 62(4), 1828–1837 (2011)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

P.-L. Giscard is grateful for the financial support from the Royal Commission for the Exhibition of 1851. The authors are grateful to an anonymous referee for its many constructive remarks that helped improve the paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Paul Rochet.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Giscard, PL., Rochet, P. Enumerating Simple Paths from Connected Induced Subgraphs. Graphs and Combinatorics 34, 1197–1202 (2018). https://doi.org/10.1007/s00373-018-1966-9

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00373-018-1966-9

Keywords

Navigation