Research Article

MSOM: Efficient Mechanism for Defense against DDoS Attacks in VANET

Algorithm 1

Multilayer Distributed SOM.
1 while(True) do
2Randomly initialize DSOM weights
3Sequentially input data from initial dataset
4while (criterion DSOM) do
5Compute the Euclidean distance betweenand
6Update the weights of the winning neuron and its neighborhood of BMU
7Input into CSOM
8Compute the Pearson squared distance betweenandwith
9Start training
10Merge DSOMs sent from all RSCs to eNBC
11Distribute the merged map (DSOM) to all RSCs
12Classify incoming traffic as normal or attack