Research Article

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

Algorithm 1

Joint access control and power allocation based on monotone optimization.
Initialization: The number of iterations is . Vertex set is with . Set .
Repeat
 Step 1. Calculate .
    Update the lower boundary .
 Step 2. Work out according to Algorithm 2. If and satisfies (48)–(50) judged by execution of Algorithm M1-1, update the current optimal value and the optimal solution ; otherwise, , .
 Step 3. Calculate the auxiliary vertex set , , . Update the vertex set for the next iteration and increase the number of iterations .
Until .
Output .