A Novel Subchannel and Power Allocation Algorithm in V2V Communication
Algorithm 2
PBA-based power allocation.
Input: Output:
Initialization: Set the number of iterations and the vertex set . The vertex is
, for ,,,.
Repeat
Step 1: Calculate . Update the upper boundary .
Step 2:
Determine the projection of on the boundary of , that is .
If , and satisfies (28) and (29), update the lower boundary and the current optimal value .
Step 3:
Calculate the additional vertex set ,,, is a vector whose elements are 0 except the th element is 1, represents Hadamard product. Then, the vertex set in the next iteration is updated. Change the number of iterations .