Skip to content

enricobolzonello/EppsteinWangAlgorithm

Repository files navigation

EppsteinWangAlgorithm

ci codecov CodeQL

Implementation of the Eppstein-Wang algorithm [1] for approximating closeness centrality in an undirected graph. Closeness centrality is approximated as: $$c(v)=\frac{n-1}{n/k \cdot sum_v}$$

where $sum_v$ is sum of all shortest paths from source $v$.

Warning

This project has been built for learning purposes, use it at your own risk

References

[1] Eppstein and J. Wang, Fast Approximation of Centrality, JGAA, 8(1) 39–45 (2004)45.

About

Closeness centrality approximation for undirected graphs with Eppstein-Wang algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published