Professional Documents
Culture Documents
Branchings
P. M. Camerini
L. Fratta
F. Maffioli
Centro Studi per le Telecomunicazioni Spaziali of CNR
and
lstituto di Elettrotecnica ed Elettronica,
Politechnico di Milano,
Milano, Italy
ABSTRACT
G(H)
10
3 $12 3 b 3
04
Ptg. 1
A t t h e beginning o f BRANCH, a forest F i s i n i t i a l i z e d t o
b e an empty f o r e s t , w i t h no nodes and no arcs. Each t i m e an
edge !u,v) i s added t o H i n BRANCH, a new node i s a l s o added
t o F, SO t h a t t h e nodes o f F are maintained t o r e p r e s e n t t h e
edges i n H. The a r c s o f F are c o n s t r u c t e d as f o l l o w s . When-
ever (u,v) i s chosen t o e n t e r a root component S c o n t a i n i n g
more t h a n one v e r t e x , l e t ( x l , y l ) , (x2,y2) , ...,
( s , y k ) be t h e
sequence of edges determined i n BRANCH, s t e p G5, such t h a t edge
-i-
( \ , y k ) w a s added t o H t o form S . Then, f o r each i , l < < k , an
a r c i s added t o F, d i r e c t e d from node ( u , v ) t o node ( x i , y i ) , so
t h a t (xi,yi) i s a chiZd of ( u , v ) i n F and ( u , v ) i s the parent
of ( x i , y i ) . I n case S c o n t a i n s a unique v e r t e x , a p o i n t e r A(v) =
( u , v ) i s set from v t o t h e leaf ( u , v ) . During t h e c o n s t r u c t i o n
o f F w e also need t o keep t r a c k o f t h e s e t N of a l l PO06 nodes
o f F, i . e . t h e nodes which have no p a r e n t .
Fig. 2 i l l u s t r a t e s t h e f i n a l f o r e s t F o b t a i n e d i n t h e ex-
ample of f i g . 1. Note t h a t , s i n c e H does n o t c o n t a i n more than
2n-2 edges ( n = l v l ) [8] , t h e t o t a l number o f nodes and a r c s of F
i s O ( n ) . Therefore the computation of F does n o t i n c r e a s e t h e
complexity of BRANCH.
NOTE ON OPTIMUM BRANCHINGS 311
Fig. 2
REFERENCES
9. T a r j a n , R.E., p r i v a t e communication.