Skip to main content
. 2022 Jun 13;22(12):4472. doi: 10.3390/s22124472
Algorithm 1 RAW configuration
  • Ghmax(Nh/120,1)

  • Gsmax(Ns/3200,1)

  • Shmin(Nh/15,8)

  • Ssmin(Ns/50,64)

  • NRAWPERBEACONGh+Gs

  • for ido

  •     RawAssignmentmrawnewRPS::RawAssignment

  •     if Group is honest then

  •         mrawSetSlotFormat(1)

  •         mrawSetSlotNum(Sh)

  •         mrawSetSlotDurationCount(NCSSQPA())

  •     else if Group is selfish then

  •         mrawSetSlotFormat(0)

  •         mrawSetSlotNum(Ss)

  •         mrawSetSlotDurationCount(HSCSSQPA())

  •     end if

  • end for