An algorithm for enumerating all spanning trees of a directed graph

Citation
S. Kapoor et H. Ramesh, An algorithm for enumerating all spanning trees of a directed graph, ALGORITHMIC, 27(2), 2000, pp. 120-130
Citations number
5
Categorie Soggetti
Engineering Mathematics
Journal title
ALGORITHMICA
ISSN journal
01784617 → ACNP
Volume
27
Issue
2
Year of publication
2000
Pages
120 - 130
Database
ISI
SICI code
0178-4617(200006)27:2<120:AAFEAS>2.0.ZU;2-T
Abstract
We present an O(NV + V-3) ti, algorithm for enumerating all spanning trees of a directed graph. This improves the previous best known bound of O(NE V + E) [1] when V-2 = o(N), which will be true for most graphs. Here, N ref ers to the number of spanning trees of a graph having V vertices and E edge s, The algorithm is based on the technique of obtaining one spanning tree f rom another by a series of edge swaps. This result complements the result i n the companion paper [3] which enumerates all spanning trees in an undirec ted graph in O(N + V + E) time.