Giter Site home page Giter Site logo

resh1992 / networkflowalgorithms Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 64.97 MB

Empirical study on Ford Fulkerson, PreFlow Push and Scaling Ford Fulkerson Algorithm

Makefile 1.84% Java 98.16%
network-flow-model algorithm ford-fulkerson preflow scaling-ford-fulkerson empirical-research

networkflowalgorithms's Introduction

Network Flow Algorithm

Implemented Ford-Fulkerson, Scaling Ford-Fulkerson, and Preflow-push algorithms in Java to find maximum flow in a network. Performed empirical study with Random, Bipartite, Fixed Degree and Mesh graphs. Varied multiple parameters affecting graph generation and studied its effect on the runtime of all algorithms.

Running and building

Compile: Run command 'make' in src folder.

Run: After compiling run command 'javac tcss543 <input file path>'.

Clean: Run command 'make clean' in src folder.

** Important information:** If Stack overflow error comes for big graphs then pass -Xss2m as argument for java stack size i.e. run 'javac -Xss2m tcss543 <input file path>' command.

Demo

You could see a demo here

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.