Research Article

OCSR: Overlapped Cluster-Based Scalable Routing Approach for Vehicular Ad Hoc Networks (VANETs)

Algorithm 2

Prepare Cluster.
Input: G, input:,
1. For ( to )
2. Fetch nearest SN
3. Set vehicle as SN [i].
4. For ( to N-K)
5.  Compute [j] of vehicle from their respective SN [i]
6.  If ()
7.   Assign vehicle into respective cluster head by SN [i].
8.  End if