Skip to main content
. 2017 Jan 1;17(1):79. doi: 10.3390/s17010079
Algorithm 2: UpdateInformationofWinner.
1 //Input: user i;
2 Update the number of being randomly selected ni=ni+1;
3 Add the observed service quality rit to the total service quality ri=ri+rit;
4 Update the learned expected service quality q^i=max(rini+8lntni,q^i);