Skip to main content
. 2020 Mar 27;20(7):1853. doi: 10.3390/s20071853
Algorithm 3: Scheduling-Based PDT, RADT, & LBDT
Input: PDT
Output: Property Tasks
1. // call algorithm 2 to form the list of tasks based on priorities
2. OperatingSystem.getLocalNodeAvailableProcessors()/
3. OperatingSystem.getLocalNodeLoadAverage()/
4. OperatingSystem.getGlobalNodeAvailableProcessors()/
5.OperatingSystem.getGlobalNodeLoadAverage()/
6. OperatingSystem.getCloudAvailableProcessors()/
7. Map < Integer, Map < String, Double>> ResourceAvailableTable = new //RADT is created
8. Map < Integer, Map < String, Double>> LoadBalanceTable = new //LBDT is created
9. from PDT, RADT, and LBDT do
   Select the best match then,
   Forward to scheduling then,
   Property Tasks List (PTL) is created
   Deploy PTL
   Deployed = true
10. If Deployed then
11. return successful