Question Formula to calculate the latency between nodes within a cluster

Abdullah01

Junior Member
Jul 6, 2022
2
0
6
In my problem, there are n-number of clusters. Each cluster contains k-number of nodes. The number of nodes can vary in clusters. I have to select the cluster whose nodes are closely located (closely located in terms of latency). For this purpose, first I have to calculate the closeness of nodes within a cluster(for each cluster, I have to calculate the closeness metric). I need guidance regarding the formula to calculate the latency between nodes within the cluster.

Need guidance which formula suits this problem.