Skip to main content
. 2016 Aug 29;16(9):1376. doi: 10.3390/s16091376
Algorithm 2 Working mode.
Require: the scheduling results sa and ra
Ensure: all w*,*L and w*,*H
 1: all w*,*L and w*,*H are initiated as idle mode;
 2: for τaΓ do
 3:  iF(τa); <nα,nβ> are the sender and receiver of τa;
 4:  if χi==H then
 5:   h[0,TTi(H)),wα,sa+Ti(H)×hH<S,ra>;
 6:   h[0,TTi(H)),wβ,sa+Ti(H)×hH<R,ra>;
 7:  else
 8:   h[0,TTi(L)),wα,sa+Ti(L)×hL<S,ra>;
 9:   h[0,TTi(L)),wβ,sa+Ti(L)×hL<R,ra>;
10: return all w*,*L and w*,*H;