Skip to main content
. 2019 Jan 15;19(2):329. doi: 10.3390/s19020329
Algorithm 1 Two stages cooperative transmission scheme.
  • 1:

    The first stage:

  • 2:

    The BS multicasts the requested message to all users and relays.

  • 3:

    Calculate the demodulation results of each user and relay.

  • 4:

    The second stage:

  • 5:

    if All users successfully received. then

  • 6:

     Break (i.e., end of transmission).

  • 7:

    else if All relays failed. then

  • 8:

     The BS resends the message to the failed users.

  • 9:

    else

  • 10:

     All successful relays forward the message to failed users simultaneously.

  • 11:

     The failed users combine the signals from these relays using MRC.

  • 12:

    end if

  • 13:

    Transmission is completed.