Research Article

Improving Energy Efficiency of Multimedia Content Dissemination by Adaptive Clustering and D2D Multicast

Algorithm 2

The iterative algorithm for intracluster D2D multicast transmission powers.
Run at any DCH (e.g., k)
Input: the MCU with the worst channel condition (e.g., u), Nu, γth, , ε, and
Output: or
(1) Initialize pout,k as “0”
(2) Initialize D2D multicast transmission powers of the members in Iout,k as “0”
(3) Compute Fout,u according to formula (9)
(4) Compute according to formula (8)
(5)If and then
(6)  Notify the members in Iout,k of at its maximum transmission power
(7)  
(8)Else if then return Else return End if
(9)End if
(10) Set the timer tΔ as Δ
(11)while the timer tΔ does not expire do
(12)  If receive D2D multicast transmission powers from the members in Iout,kthen
(13)   Update D2D multicast transmission powers of the members in Iout,k
(14)  End if
(15)End while
(16) Go to 3