Research Article
An MSCN-Based Virtual Computing Cell-Oriented BSM Dissemination Mechanism
Table 2
Explanation for Algorithm
2 variables and functions.
| | Variable/function | Explanation |
| | BSMvehicle_brocast (X) | Vehicle X broadcasts BSMvehicle | | push_back_BSM (BSMvehicle) | Put the MSCN’s BSMvehicle into table of neighbor node | | Ti | Table of node i for saving BSMvehicle from neighbor MSCN | | indexvector | The vector that node stores the VirCC index | | cal_VirCCindex (X, Y) | The function to calculate VirCC index between Y and X according to equation (8) | | SelectMin_index (X) | Select the node with the smallest VirCC index | | VirCCselect | The VirCC that the node joins | | MSCN_id | The node ID of MSCN | | getMSCNid (X) | Get the MSCN ID of VirCC X | | Set_MSCNid (X, Y) | Set Y as the MSCN ID of node X |
|
|