Research Article

Reinforcement Learning-Based Intelligent Task Scheduling for Large-Scale IoT Systems

Algorithm 2

RL guides task selection.
Input: All tasks
Output: Final solution and timeout
1: Episode = 0;
2: while Episode do
3:  fordo
4:   ifthen
5:    
6:   else
7:    
8:   end if
9:   
10:   Build a bipartite graph of ;
11:   Calculate cost by HK algorithm;
12:   
13:   
14:   ifthen
15:    break;
16:   end if
17:  end for
18:  Episode = Episode + 1;
19: end while
20: Return final solution and cost