Research Article

MMW-NOMA: An Uplink NOMA Communication System Based on the Node Pairing Algorithm of Maximum and Minimum Weight in Underwater Acoustic Networks

Algorithm 3

The power allocation algorithm.
1: Procedure()
2: Input: Psum, Rth
  //input the maximum transmit power and communication threshold
3: For(i =0; i <20; i++)
4: {
5:  //count for MSE of NOMA
6:  //count for the MSE of OMA
7:  //solve the NOMA objective function
8:  
//solve NOMA constraint
9:  //solve power distribution factor
10:  }
11:  Output: ,;
12:  End procedure