Skip to content

konstantinNovichenko/Modified-Dijkstra-Centrality-Closeness-Betweenness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Modified-Dijkstra-Centrality-Closeness-Betweenness

This project was created for Graph-Based Analysis for Big Data in Social Networks class at College of Staten Island (CUNY) in December 2020.

Authors

Overview

This project is a modification of the classic Dijkstra Shortest Path (DSP) algorithm to find the closeness centrality and betweenness centrality in a network (weighted graph). As an input, the user needs to provide the number of vertices, the number of edges in the network, and a text file with the network's representation in the following format: node index, next node index, the weight of the edge. The program will analyze the graph, print all the closeness and betweenness scores for each vertex, and indicate which vertices have the best scores. The original code with the classic representation of the DSP algorithm was provided by Professor Louis Petingi.

Content

  • Source code in "SourceCSC769.cpp"
  • Test case network in "grid.txt"

Screenshots

Test Case Network

Test Graph

Output

Output

About

This project was created for Graph-Based Analysis for Big Data in Social Networks class at College of Staten Island (CUNY) in December 2020.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages