Skip to main content

An implementation of the absorbing random-walk centrality measure for graphs.

Project description

Documentation Statu Travis-CI Build Status Coverage Status

This is an implementation of the absorbing random-walk centrality measure for nodes in graphs. For the definition of the measure, as well as a study of the related optimization problem and algorithmic techniques, please see the pre-print publication on arXiv. A short version of this paper will appear in the ICDM 2015.

To cite this work, please use

Mavroforakis, Charalampos, Michael Mathioudakis, and Aristides Gionis.
"Absorbing random-walk centrality: Theory and algorithms"
Data Mining (ICDM), 2015 IEEE International Conference on. IEEE, 2015.


You can install the absorbing_centrality package by executing the following command in a terminal.

pip install git+


For instructions on how to use the package, consult its documentation.


To run all the tests for the code, you will need tox – check its webpage for instructions on how to install it.

Once tox is installed, use your terminal to enter the directory with the local copy of the code (here it’s named ‘absorbing-centrality’) and simply type the following command.

absorbing-centrality $ tox

If everything goes well, you’ll receive a congratulatory message.

Note that the code is distributed under the Open Source Initiative (ISC) license. For the exact terms of distribution, see the LICENSE.

Copyright (c) 2015, absorbing-centrality contributors,
Charalampos Mavroforakis <>,
Michael Mathioudakis <>,
Aristides Gionis <>


0.1.0 (2015-08-31)

  • Working version of the package.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for absorbing_centrality, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size absorbing_centrality-0.1.0-py2.py3-none-any.whl (25.1 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size absorbing_centrality-0.1.0.tar.gz (1.4 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page