Skip to content

Implementation of Balanced Graph Partitioning Konstantin" - Andreev and Harald Racke (Authors of the paper) by Ivan Vigorito and Lorenzo Frigerio

License

Notifications You must be signed in to change notification settings

IvanVigor/Balanced_Graph_Partitioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Balanced Graph Partitioning

This is an implementation of the paper Balanced Graph Partitioning (authors: Konstantin Andreev, Harald Racke).

struct

Libraries installation Windows

The code was tested on python 3.5 with these additional libraries:

  • numpy
  • networkx
  • python-igraph

In order to install them:

  1. Open Python console

  2. write pip install numpy and wait termination

  3. write pip install networkx and wait termination

  4. write pip install python-igraph and wait termination In case of failure of this last step: 1) go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-igraph 2) write in python console: "pip install path/to/igraph.whl"

  5. Then the file to launch is "Balancer_Cut"

Results

img

Library installation Linux [Outdated]

The code wast tested on Python 2.7.11 because igraph library is not compatible with Python 2.7+ versions.

Requirements

On Linux (and other Unix-like systems), you will need a C and a C++ compiler, the tool "make" and the development header files for your version of Python. On Debian and Ubuntu Linux the "build-essential" and "python-dev" packages.

The code runs with these additional libraries:

  • numpy
  • networkx
  • python-igraph
  1. Open Python console

  2. write pip install numpy and wait termination

  3. write pip install networkx and wait termination [remember to install the library in the right Python version (2.7)]

  4. write pip install python-igraph and wait termination In case of failure of this last step: 1) check "# Requirements" 2) follow instructions on this page http://igraph.wikidot.com/installing-python-igraph-on-linux [Ubuntu Linux version tested by us]

  5. Then the file to launch is "Balancer_Cut"

License

The code is provided with MIT license

License: MIT

References

Paper: "Balanced Graph Partitioning" http://www.math.cmu.edu/~kandreev/kpart.pdf

Authors

Ivan Vigorito and Lorenzo Frigerio

About

Implementation of Balanced Graph Partitioning Konstantin" - Andreev and Harald Racke (Authors of the paper) by Ivan Vigorito and Lorenzo Frigerio

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages