Research Article

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

Algorithm 1

Match tasks with idle threads.
Input: The task set selected each time
Output: Bipartite graph of tasks and idle threads
1: for tasks do
2:  fordo
3:   ifthen
4:    add edge
5:    
6:   end if
7:  end for
8: end for
9: erase in
10: erase in
11: The length of also modifies accordingly