An algorithm for enumerating all spanning trees of a directed graph

被引:22
|
作者
Kapoor, S [1 ]
Ramesh, H
机构
[1] Indian Inst Technol, New Delhi 10016, India
[2] Indian Inst Sci, Dept Comp Sci, Bangalore 560012, Karnataka, India
关键词
spanning tree; directed graph; enumeration;
D O I
10.1007/s004530010008
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 refers to the number of spanning trees of a graph having V vertices and E edges, The algorithm is based on the technique of obtaining one spanning tree from another by a series of edge swaps. This result complements the result in the companion paper [3] which enumerates all spanning trees in an undirected graph in O(N + V + E) time.
引用
收藏
页码:120 / 130
页数:11
相关论文
共 50 条