Research Article

An MSCN-Based Virtual Computing Cell-Oriented BSM Dissemination Mechanism

Table 2

Explanation for Algorithm 2 variables and functions.

Variable/functionExplanation

BSMvehicle_brocast (X)Vehicle X broadcasts BSMvehicle
push_back_BSM (BSMvehicle)Put the MSCN’s BSMvehicle into table of neighbor node
TiTable of node i for saving BSMvehicle from neighbor MSCN
indexvectorThe 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
VirCCselectThe VirCC that the node joins
MSCN_idThe 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