Research Article

On Constructing Strongly Connected Dominating and Absorbing Set in 3-Dimensional Wireless Ad Hoc Networks

Algorithm 2

Subroutine UnidTree ().
(1)Procedure UnidTree (V, E, s)
(2) Set ;
(3) Color s black;
(4) Set , and ;
(5) While do
(6) Choose such that is maximized, color x back;
(7) Set , and ;
(8) End while
(9) Set ;
(10) While do
(11)  Choose a node such that , color blue;
(12)  Set ;
(13) End while
(14) Return C;
(15)End procedure