Giter Club home page Giter Club logo

multilevel-graph-partitioning's Introduction

multilevel-graph-partitioning

https://github.com/malie/multilevel-graph-partitioning

state

coarsening and slow partitioning of a small, coarse graph work somewhat

otherwise

heavily unfinished!

example

> printGraph testGraph2
Graph
  ...
  edgeNodes:
    (Edge 1,(Node 100,Node 200))
    (Edge 2,(Node 100,Node 110))
    (Edge 3,(Node 110,Node 200))
    (Edge 4,(Node 200,Node 300))
    (Edge 5,(Node 200,Node 210))
    (Edge 6,(Node 210,Node 220))
    (Edge 7,(Node 220,Node 300))
    (Edge 8,(Node 300,Node 400))
    (Edge 9,(Node 300,Node 310))
    (Edge 10,(Node 310,Node 400))
    (Edge 11,(Node 400,Node 410))
    (Edge 12,(Node 400,Node 500))
    (Edge 13,(Node 410,Node 500))
    (Edge 14,(Node 500,Node 600))
    (Edge 15,(Node 600,Node 610))
    (Edge 16,(Node 600,Node 100))
    (Edge 17,(Node 610,Node 100))


> mapM_ print . M.toList =<< partitionSlow testGraph2 4 MinimalCuts

...
(ce:7.0 ib:2.0)
(Node 100,2)
(Node 110,2)
(Node 200,3)
(Node 210,3)
(Node 220,3)
(Node 300,1)
(Node 310,1)
(Node 400,1)
(Node 410,0)
(Node 500,0)
(Node 600,2)
(Node 610,2)

multilevel-graph-partitioning's People

Contributors

malie avatar

Watchers

 avatar James Cloos avatar

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.