| Policy 1 Selection Policy | ||
| 1: | BEGIN: | |
| 2: | : denotes the current time slot, : denotes the duration of time slot. | |
| 3: | INPUT: | |
| 4: | If then | |
| 5: | ||
| 6: | Else | |
| 7: | ||
| 8: | End if | |
| 9: | Acquire: via | |
| 10: | Acquire: UAVL’s position: | |
| 11: |
While do |
|
| 12: | Acquire: | |
| 13: | power set in all cases: | |
| 14: | End while | |
| 15: | For do | |
| 16: | If the Equations (13) (14) (15) then | |
| 17: | derive Power-efficient package rate maximum problem | |
| 18: | Acquire | |
| 19: | else | |
| 20: | ||
| 21: | Endif | |
| 22: | endfor | |
| 23: | ||
| 24: | Output: | |
| 25: | If then | |
| 26: | UAVL doesn’t shift the eavesdropping-jamming model. | |
| 27: | else | |
| 28: | UAVL shifts the eavesdropping-jamming model from | |
| 29: | endif | |
| 30: | ||
| 31: | Go back to line 6 until | |
| 32: | END | |