skip to main content
article
Free Access

An algorithm for finding a fundamental set of cycles of a graph

Published:01 September 1969Publication History
Skip Abstract Section

Abstract

A fast method is presented for finding a fundamental set of cycles for an undirected finite graph. A spanning tree is grown and the vertices examined in turn, unexamined vertices being stored in a pushdown list to await examination. One stage in the process is to take the top element v of the pushdown list and examine it, i.e. inspect all those edges (v, z) of the graph for which z has not yet been examined. If z is already in the tree, a fundamental cycle is added; if not, the edge (v, z) is placed in the tree. There is exactly one such stage for each of the n vertices of the graph. For large n, the store required increases as n2 and the time as nγ where γ depends on the type of graph involved. γ is bounded below by 2 and above by 3, and it is shown that both bounds are attained.

In terms of storage our algorithm is similar to that of Gotlieb and Corneil and superior to that of Welch; in terms of speed it is similar to that of Welch and superior to that of Gotlieb and Corneil. Tests show our algorithm to be remarkably efficient (γ = 2) on random graphs.

References

  1. 1 GOULD, R. The application of graph theory to the synthesis of contact networks. Proc. International Symp. on the Theory of Switching, Pt. I, Apr. 2-5, 1957. In The Annals of the Computation Laboratory of Harvard University, Annals No. 29, Harvard U. Press, Cambridge, Mass., 1959, pp. 244-292.Google ScholarGoogle Scholar
  2. 2 WELCH, J. T., JR. A mechanical analysis of the cyclic structure of undirected linear graphs. J. ACM 18, 2 (Apr. 1966), 205-210. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 GOTLIEB, C. C., AND CORNEIL, D.G. Algorithms for finding a fundamental set of cycles for an undirected linear graph. Comm. ACM 10, 12 (Dec. 1967), 780-783. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 SUSSENGUTH, E., JR. A graph theoretical algorithm for matching chemical structures. J. Chem. Doe. 5, 1 (Feb. 1965), 36-43.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. An algorithm for finding a fundamental set of cycles of a graph

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image Communications of the ACM
        Communications of the ACM  Volume 12, Issue 9
        Sept. 1969
        51 pages
        ISSN:0001-0782
        EISSN:1557-7317
        DOI:10.1145/363219
        Issue’s Table of Contents

        Copyright © 1969 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 September 1969

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader