Research Article

Virtual MIMO Beamforming and Device Pairing Enabled by Device-to-Device Communications for Multidevice Networks

Algorithm 1

Distributed matching and resource sharing algorithm.
(1) Set for .
(2)  repeat
(3)   At device , update offer using (24) for and send it back to device
(4)   On receipt of for all devices, update using (25).
(5)   At device , update alternative rate using (26) and send it back to device .
(6)    .
(7)   until   All messages converge or max number of iterations are reached.
(8) At device , fix and for all to determine using (25), and find partner
  device such that .