

浏览全部资源
扫码关注微信
清华大学
Published:1982
移动端阅览
[1]陈祖舜.生成有向图的所有树形图的新算法[J].电子学报,1982(05):44-54.
Cheng Zu-shun. An Algorithm lor Generating All Arborescences of a Given Directed Graph[J]. Acta Electronica Sinica, 1982, (5): 44-54.
本算法生成一个直积-直和表达式
用来表示有向图G中所有以指定结点r为根的树形图之集∑
r
+
(G)。该表达式正是一种“符号网络函数”
且其形式非常适合生成树形图问题的实际应用。算法的基础是两种新的分解:图的直积分解与图的直和分解。本文还提出逆弧概念和删除逆弧算法
作为下一步改进的着眼点。复杂性:时间O(VEK)
空间O(E)
其中K为直和分解次数加1。
A new algorithm for generating all arborescences ∑r+ of a given directed graph G = (V
E)
with vertex r∈V as root
is suggested. It gives as the result an expression of a form of so-called "direct products-direct sums"
which is especially suitable for the practical applications of the original problems from which the topical generation of all arborescences was abstracted.The new algorithm (GEN) is based upon two sorts of graph decomposition namely
the decomposition of a graph G = (V∪{r}. E) into several "sub-configurations" (a new concept)G[Vt] = (V1
E(V1))
∪1=V
V1∩V1=φ
E(V1)= ∪VEV1 E-v
giving direct products:vev
∪(G)= x∑G[V1])
and the decomposition of the in-arc set of a vertex
E-v = D1∪D2
D1∩D2 =φ
giving direct sums: ∑(G) = ∑(G1)∪∑(G2)
∑(G1)∑(G2) =φ.A new concept
(proper) back-arc
is formulated
and an algorithm (DEL) for deleting such arcs is proposed. The deletion of such arcs has not any effect on the set ∑r+.The complexity of the above algorithms is as follows: for the algorithm DEL
the time is O(EV)
the space is O(E); for the algorithm GEN
the time is O (EVK)
the space is O(E)
where V and E are the cardinal of the vertex set
and the cardinal of the arc set (of the given graph G) respectively
and K is the times of call for algorithm DEL by algorithm GEN
i. e. the number of the appearances of the sign " + ’’ (the sign of direct sum) in the resulted expression.
0
Views
64
下载量
0
CSCD
Publicity Resources
Related Articles
Related Author
Related Institution
京公网安备11010802024621