The weighted gravity model (WGravity) is a variant of the traditional gravity model that incorporates a truncation radius and the eigenvector centrality of nodes [2]. The WGravity centrality of node \(i\) is defined as
\[
c_{WGravity}(i) = e_i \sum_{j \in \mathcal{N}^{(\leq r)}(i)} \frac{d_i d_j}{d_{ij}^2},
\]
where \(d_i\) and \(d_j\) are the degrees of nodes \(i\) and \(j\), \(d_{ij}\) is the shortest distance between nodes \(i\) and \(j\), \(e_i\) is the eigenvector centrality of node \(i\), and \(\mathcal{N}^{(\leq r)}(i)\) denotes the set of nodes within \(r\) hops of \(i\). The parameter \(r\) defines the radius of influence for each node.
Liu et al. [2] suggest setting \(r = 0.5 \langle d \rangle\), where \(\langle d \rangle\) is the average shortest path length of the network \(G\). This truncation balances local and semi-local information while incorporating the global influence captured by eigenvector centrality.

References

[1] Shvydun, S. (2025). Zoo of Centralities: Encyclopedia of Node Metrics in Complex Networks. arXiv: 2511.05122 https://doi.org/10.48550/arXiv.2511.05122
[2] Liu, F., Wang, Z., & Deng, Y. (2020). GMM: A generalized mechanics model for identifying the importance of nodes in complex networks. Knowledge-Based Systems, 193, 105464. doi: 10.1016/j.knosys.2019.105464.