Research Article

A New Energy-Efficient Data Transmission Scheme Based on DSC and Virtual MIMO for Wireless Sensor Network

Algorithm 1

Cooperative group allocation algorithm.
(1)   for all    do  /* represents a source node;
           represents all the source node
           without traversal*/
(2)   mark as traversal, and update ;
(3)   for all    do   /* represents a source node*/
(4)     calculate the distance between and ;
(5)   end for
(6)   select the node whose satisfies Condition 1 and Condition 2;
           /*Condition 1: ;
             Condition 2: */
(7)    if   not unique then
(8)     randomly select a node from and compose a CG with ;
(9)     store this CG in the allocation table;
(10)   mark this node as traversal, and update ;
(11)   else if   unique then
(12)    and compose a CG;
(13)   store this CG in the allocation table;
(14)   mark as traversal, and update ;
(15)  else if   none then
(16)   end this cycle;
(17)  end if
(18) end for