Research Article

Efficient Energy Utilization with Device Placement and Scheduling in the Internet of Things

Algorithm 2

MESDA.
Input: , for each , , ;
Output: , , ;
1: Sets of , , and for each ;
2: while do
3:  Pick ;
4:  Pick ;
5:  , , ;
6:  ifthen
7:   ;
8:  end
9: end
10: whiledo
11:  Pick ;
12:  Select such that ;
13:  ifthen
14:   ;
15:  else
16:   , , ;
17:  end
18: end
19:, , ;