Skip to content
This repository has been archived by the owner on May 2, 2021. It is now read-only.
/ bkmaxflow-c Public archive

C bindings for Vladimir Kolmogorov's Max-flow/min-cut library

License

Notifications You must be signed in to change notification settings

Gnimuc/bkmaxflow-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bkmaxflow-c

C bindings for Vladimir Kolmogorov's Max-flow/min-cut library(Boykov-Kolmogorov algorithm).

Usage

Download and unzip the source code

The maxflow-v3.01 library: https://vision.csd.uwo.ca/code/maxflow-v3.01.zip

The file hierarchy looks like this:

bkmaxflow-c |
            | CMakeLists.txt
            | bk.cpp
            | bk.h
            | block.h
            | graph.cpp
            | graph.h
            | instances.inc
            | maxflow.cpp
            ...

Build

Comment the last line of maxflow.cpp firstly:

// #include "instances.inc"

then

mkdir build && cd build
cmake ..
make

LICENSE

Only the wrapper in this repo is licensed under MIT license, note the maxflow-v3.01 library has its own license.

About

C bindings for Vladimir Kolmogorov's Max-flow/min-cut library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published