Research Article
A Categorized Resource Sharing Mechanism for Device-to-Device Communications in Cellular Networks
Algorithm 1
Seeking the minimum transmit power value.
Input: | The matrix ; | Output: | A set of minimum transmit power ; | () , | () do | () for | () for all | () , record and | () | () | () end for | (9) end for | (10) for | (11) if | (12) return | (13) else | (14) belongs to matrix | (15) add the subscript to | (16) end if | (17) | (18) while () | (19) |
|