Research Article

A Novel Access Control and Energy-Saving Resource Allocation Scheme for D2D Communication in 5G Networks

Algorithm 3

P4.
Step 1. Given link , initial power and iteration times .
Step 2. Repeat
  , .
  repeat
  
  solve problem CP4 to obtain .
  update
  until convergence
 calculate according to obtained .
 calculate , if , .
 Until , .
Output , .