Skip to content

The goal of this project is to implement the Brandes algorithm for calculating betweenness centrality in a graph. The Brandes algorithm is a well-known algorithm for efficiently computing betweenness centrality in large, complex networks.

Notifications You must be signed in to change notification settings

genpranav/Brandes-Algorithm-Betweenness-Centrality

Repository files navigation

Effecient Edge and Vertex Betweenness Centrality computational algorithms: Brandes

A graph is a mathematical structure that is used to represent interactions or connections among objects. Graphs can be used to mimic a wide range of real-world situations, such as interpersonal ties in a social network, node connections in a computer network, or the movement of items in a supply chain.

Graphs are defined by their vertices and edges. Assessing the significance of vertices and edges in a graph is highly insightful in a number of situations. One of the methods used to quantify this importance of edges and vertices is Betweenness Centrality. The main goal is to identify the number of times the Vertice/Edge is a part of the shortest paths present between Vertices present in the graph.

This is an example computation for a simple graph,

BC example

Obviously when scaling graphs to practical situations will lead to computational strain.

The notion of this problem has been clearly established for quite some time and along with it come multiple possible approaches to computing it. One of the more efficient algorithms that solve for Betweenness Centrality is the Brandes algorithm.

As an extension to the conventional implementation of Brandes algorithm for unweighted graphs, I've also implemented a creative way to compute Betweenness Centrality for weighted graphs by extending it with the use of Dijkstra's algorithm. On testing with the code with unweighted and equally weighted methods, they are equivalent.

Documentation

The documentation of this project can be found here

Socials plug

B.E.Pranav Kumaar Student ID @Amrita Vishwa Vidyapeetham - CB.EN.U4AIE20052

🔥 twitter

LinkedIn

❄️ Github

About

The goal of this project is to implement the Brandes algorithm for calculating betweenness centrality in a graph. The Brandes algorithm is a well-known algorithm for efficiently computing betweenness centrality in large, complex networks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published