GithubHelp home page GithubHelp logo

suraj44 / betweenness-centrality Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 1.0 3.38 MB

Serial and parallel implementations of computing the betweenness centrality for large sparse graphs using C++ and CUDA

Cuda 61.90% C++ 38.10%
betweenness-centrality cuda parallel-graph-algorithms

betweenness-centrality's Introduction

Betweenness Centrality for Large Graphs

Betweenness centrality is a measure of the influence of a vertex over the flow of information between every pair of vertices under the assumption that information primarily flows over the shortest paths between them.

Betweenness Centrality

We didn't realize when we first looked at the problem statement, but BC has loads of applications. For example,

  1. Betweenness centrality is used to identify influencers in legitimate, or criminal, organizations. Studies show that influencers in organizations are not necessarily in management positions, but instead can be found in brokerage positions of the organizational network. Removal of such influencers could seriously destabilize the organization.
  2. Betweenness centrality can be used to help microbloggers spread their reach on Twitter, with a recommendation engine that targets influencers that they should interact with in the future.

Results

GPU Used - Nvidia Tesla K80 (through Google Colab) CPU Used - Intel core-i5 8250

Execution times were measured using the time.h library and the values below are in seconds.

Input Size GPU Time CPU
10^3 0.008973 2.16074
10^4 26.391409 296.771326
10^5 2635.802207 N/A

betweenness-centrality's People

Contributors

suraj44 avatar

Stargazers

 avatar  avatar

Forkers

gladcolor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.