| Algorithm 1 Online algorithm for sensor selection with sensing schedules. |
|
Inputs:, , , , , : the current context state of the user contexts From CRM KB: : the set of possible sensor groups for each of the requested L contexts : the available sensors : the energy consumption by each sensor From LUT: : the pre-computed energy consumption for each group of sensors in recognizing context state : the pre-computed delay of each sensor group in recognizing context state : the pre-computed optimized sensing schedules for the sensor groups in in recognizing each context state. Output:, : The boolean variable representing the selected sensor groups to recognize multiple contexts states : Sensing schedules corresponding to the sensors of the selected group including the synchronized schedules
|