|
Algorithm 1: Secure, Energy- and SLA-Efficient (SESE) Algorithm without involvement of malicious device
|
| Input:
|
| Output: SLA-energy Cooperative Quickest Path (SESE) |
| BEGIN{ |
| Initialization: |
|
|
| Procedure: |
| STEP 0: Variable Declaration |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| STEP 1: Find capacities corresponds to critical-continuous service and label of minimum capacity: |
| (i)
|
| (ii) with AND rule |
| STEP 2: Solve w.r.t. delay time in with capacities
|
| For
|
| Set
|
| Solve . |
| If No path in with capacity with
|
| go to STEP3 |
| else |
| Let is an optimal solution for with capacity
|
| end |
| end |
| STEP 3: |
| If
|
| go to STEP4 |
| else |
| set and go to STEP2 |
| end |
| STEP 4: Find the solution |
| Compute the index of path array
|
|
|
|
is an optimal solution of the SESE |
| } END |