Research Article
A Task Scheduling Strategy in Edge-Cloud Collaborative Scenario Based on Deadline
Algorithm 1
The algorithm for classifying the tasks.
| (1) | Initialization | | (2) | Task set: ; | | (3) | Categorized task sets: ; | | (4) | For each task do | | (5) | Calculate by , respectively; | | (6) | If () then | | (7) | ā; | | (8) | Else if () then | | (9) | ā; | | (10) | End if; | | (11) | End for; | | (12) | Output: GC (Sort by sensitivity in ascending order), GL. |
|