Skip to main content
Log in

On the time required to detect cycles and connectivity in graphs

  • Published:
Mathematical systems theory Aims and scope Submit manuscript

Abstract

It is shown that when a graph is represented as a binary connection matrix, the problems of finding the shortest path between two nodes of a graph, of determining whether the graph has a cycle, and of determining if a graph is strongly connected each require at leastO(n 2) operations. Thus the presently known best algorithms are optimal to within a multiplicative constant.

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

Access this article

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. E. Dijkstra, A note on two problems in connection with graphs,Numer. Math 1 (1959), 269–271.

    Google Scholar 

  2. D. Dreyfus, An appraisal of some shortest path algorithms,Operations Res. 17 (1969), 395–412.

    Google Scholar 

  3. J. Hopcroft andR. Tarjan, Planarity testing in V log V steps, to appear in IFIP, 1971.

  4. L. Kerr, personal correspondence.

  5. R. B. Marimont, A new method of checking the consistency of precedence matrices,J. Assoc. Comput. Mach. 6 (1959), 164–171.

    Google Scholar 

  6. E. McCreight, unpublished.

  7. I. Pohl, A theory of bi-directional search in path problems, Report No. RC 2713, IBM, Yorktown Heights, N.Y., 1969.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Holt, R.C., Reingold, E.M. On the time required to detect cycles and connectivity in graphs. Math. Systems Theory 6, 103–106 (1972). https://doi.org/10.1007/BF01706081

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01706081

Keywords

Navigation