Research Article

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

Algorithm 2

Calculation process of ρH(x(i)).
Input: ,
Output:
Step 1. Initialize , , and represents a small positive number.
Step 2. Repeat the following steps
  
 Judge whether is feasible, which is equivalent to judge whether is true. If it is true, ; otherwise, .
 Until .
Step 3. Output , .