An algorithm for the blocks and cutnodes of a graph
- 1 July 1971
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 14 (7), 468-475
- https://doi.org/10.1145/362619.362628
Abstract
An efficient method is presented for finding blocks and cutnodes of an arbitrary undirected graph. The graph may be represented either (i) as an ordered list of edges or (ii) as a packed adjacency matrix. If w denotes the word length of the machine employed, the storage (in machine words) required for a graph with n nodes and m edges increases essentially as 2( m + n ) in case (i), or n 2 / w in case (ii). A spanning tree with labeled edges is grown, two edges finally bearing different labels if and only if they belong to different blocks. For both representations the time required to analyze a graph on n nodes increases as n γ where γ depends on the type of graph, 1 ≤ γ ≤ 2, and both bounds are attained. Values of γ are derived for each of several suitable families of test graphs, generated by an extension of the web grammar approach. The algorithm is compared in detail with that proposed by Read for which 1 ≤ γ ≤ 3.Keywords
This publication has 6 references indexed in Scilit:
- The block-cutpoint-tree of a graphPublicationes Mathematicae Debrecen, 2022
- An Efficient Algorithm for Graph IsomorphismJournal of the ACM, 1970
- An algorithm for finding a fundamental set of cycles of a graphCommunications of the ACM, 1969
- Automatic term classifications and retrievalInformation Storage and Retrieval, 1968
- Models of Computations and Systems—Evaluation of Vertex Probabilities in Graph Models of ComputationsJournal of the ACM, 1967
- Non-separable and planar graphsTransactions of the American Mathematical Society, 1932