|
Algorithm 1 Super Arm Exploration |
-
1:
Initialize: Total number of trials K
-
2:
for
-
3:
Solve problem (16) for a given ,
-
4:
CU calculates as per (2), as per (17), and as per (18).
-
5:
If
-
6:
then .
-
7:
else if the super arm reward of all the RRHs ,
-
8:
then , ,
-
9:
else if the individual reward for the n-th RRH, and ,
-
10:
then ,
-
11:
else .
-
12:
end If
-
13:
Calculate the total energy cost of all the RRHs, as .
-
14:
Calculate the energy package index p at all RRHs from .
-
15:
Update ;
-
16:
Update ;
-
17:
end for
-
18:
Estimated mean reward for K trials .
|