|
Algorithm 1: Hybrid UCB-ACO for multi-tier task offloading. |
Input: users, iterations, tiers , weights Output: Optimal Offloading Mapping
Initialize and for all
For to do
For to do
For each user do
Calculate Exploration Bonus:
Compute UCB Score: (where
)
Select target tier using decision rule:
Execute task offloading and record and
End For
Evaluate Global Fitness: (where
represents the inelastic constraint violation penalty)
Update Pheromones:
End For
End For
Return Global Best Mapping
|