Research Article
Imaging Tasks Scheduling for High-Altitude Airship in Emergency Condition Based on Energy-Aware Strategy
Algorithm 2
Pseudocode of VTD algorithm.
; ; ;/*Initialization*/ | for each task in sequence do | ;/*Search the value task in NQueue*/ | Calculate the distance between and ; | if then/* is a value task*/ | Calculate and by (15); | ; ; | Add to the value task set VQueue; | else | Reject ;/* is a invalid task, which can not been executed in its deadline*/ | end if | end for | for each task in sequence do | Delete from , and set ; /*Assign value to the decision vector */ | if then | Select the first task in ; /* is the next value task behind */ | Let ; | end if | end for |
|