Home

Awesome

NetworkFlows.jl

Build Status

This package development is currently stopped. All the functionalities have been added to LightGraphs.jl and LightGraphsExtras.jl. No speed efficiency comparison have done though. I will maintain the package for the next updates of Julia till v1.0.

NetworkFlows.jl is a Julia package that provides network flows algorithms. The design of this package is based on simple and fast flow algorithms. On mid/long term, it could be merged with other graphs packages in Julia (Graphs.jl,LightGraph.jl, etc). All data structures and algorithms are implemented in pure Julia, and thus they are portable.

Main Features

The network/graph structure used in NetworkFlows.jl tries to optimize the access time for Augmenting Shortest Paths max-flow algorithm. The structure is as follows:

Documentation (starter)

Examples of use are given in the test/runtest.jl

To get started with a simple graph:

edges = [(1,2,2.),(1,3,3.),(1,4,5.),(2,5,2.),(3,5,3.),(4,5,5.),(5,6,3.),(5,7,3.),(5,8,3.),(6,9,3.),(7,9,3.),(8,9,3.),(9,10,7.),(9,11,7.),(10,12,7.),(11,12,7.)]

g = Network(edges,true,1,12)

mixedMLA(g)