Research Article
Multiaccess Edge Computing-Based Simulation as a Service for 5G Mobile Applications: A Case Study of Tollgate Selection for Autonomous Vehicles
Find the optimal buffer | Parameters: (direction), (car type), (pay type), (queue type), (buffer size), (self-determination probability). | INITIALIZATION: | 1: If then | 2: set start ⟵ 0 | 3: set end ⟵ | 4: End if | 5: Else if then | 6: set start ⟵ | 7: set end ⟵ | 8: End if | 9: Else then | 10: set | 11: set | 12: If then | 13: set | 14: End if | 15: End else | 16: If then | 17: s | 18: End if | BUFFER DECISION: | 19: set result ⟵ Algorithm 2() | 20: If then | 21: If then | 22: set result⟵Algorithm 2() | 23: End if | 24: End if | FINALIZATION: | 25: return result |
|