Document Type

Technical Report

Publication Date

Winter 1-1-1977

Abstract

An algorithm for finding all spanning trees (arborescences) of a directed graph is presented. It uses backtracking and a method for detecting bridges based on depth-first search. The time required is 0(V+E+EN) and the space is 0(V+E), where V, E, and N represent the number of vertices, edges, and spanning trees, respectively. If the graph is undirected, the time is actually 0(V+E+VN), which is optimal to within a constant factor. The previously best known algorithm for undirected graphs requires time 0(V+E+EN).

Share

COinS