Research Article
An Adaptive Multiexecutors Scheduling Algorithm Based on Heterogeneity for Cyberspace Mimic Defense
Algorithm 2
Scheduling algorithm based on high-order heterogeneity and confidence (HHAC).
| Input: Executor pool , Vulnerability Topology Graph , Random Survival Time , sleep threshold | | Output: Online executor pool , offline executor , online executor | | Function Select-First | | / Select initial online executor set / | (1) | ; | (2) | Compute heterogeneity threshold : | (3) | If then | (4) | | (5) | For each in | (6) | If < min then | (7) | min | (8) | Endif | (9) | Return min | | / Select offline executor / | | Function offline executor | (10) | For each in : | (11) | | (12) | | (13) | If or : | (14) | offline | (15) | Return | | / Select replaced online executor / | | Function Select-New | (16) | For in , in : | (17) | If and then | (18) | | (19) | End if | (20) | Return | | / Compute heterogeneity of executors / | | Function HTVG (VTG) | (21) | Return , |
|