|
Algorithm 1 Cluster Tree-Based Routing Algorithm |
| Input: Coordinates of Node “N” |
| Output: Number of CH node |
| Cluster Formation: |
| 1: Calculate the distance between the nodes. |
|
| 2: Compute the distance matrix for all the nodes. |
|
| 3: Calculate the centroid of the network nodes |
|
| 4: Generate the cluster in the network from Equation (7). |
| 5: Calculate the total number of clusters C
|
|
| 6: Obtain a set of “C” clusters. |
|
CH Selection: |
| 7: Compute and of nodes in the cluster. |
| 8: Compute the payoff “p” value for each CM
|
|
. |
| 9: Compute the Nash equilibrium for deciding the CH node in the cluster |
|
| 10: Obtain the optimum CH node. |
| Route Establishment: |
| 11: Compute the DIOC-ETX, DIOC-QU, DIOC-RER, and DIOC-CHNC from the parent CH node. |
| 12: Calculate the quality of the CH parent node using the objective function |
|
| 13: Compute the rank for selecting best CH parent node. |
|
|
| 14: Return the best CH parent node. |