Research Article

Optimal Channel Selection Based on Online Decision and Offline Learning in Multichannel Wireless Sensor Networks

Algorithm 1

Channel selection based on noncooperative game.
// Initialization
(1) AP evaluates the
// Each sensor obtains the channel gain
(2) Sensor transmits request to AP
(3) Sensor obtains channel gain from the feedback
// Each sensor select the optimal channel through the Non-cooperative game
(4) while    do
(5) for   to
(6) for   to
(7) Sensor calculates the utility function on each channel according to (9)
(8) end for
(9) end for
(10) end while
(11)
(12) Take greedy strategy to select the th channel