npow / maxflow Goto Github PK
View Code? Open in Web Editor NEWSolver for the maximum flow problem
Home Page: http://lpsolve.sourceforge.net/5.5/DIMACS_maxf.htm
Solver for the maximum flow problem
Home Page: http://lpsolve.sourceforge.net/5.5/DIMACS_maxf.htm
=================== SYSTEM REQUIREMENTS =================== -- suitable C++ compiler (preferably gcc >= 3.4) -- make This code has been tested using gcc 3.4.2 on Solaris 5.8 (sparc), and gcc 4.1.2 on GNU Linux 2.6.18 (x86), but should compile fine with any standard C++ compiler. =========== COMPILATION =========== A makefile has been included with this distribution, so to compile the code it suffices to run the make command. All the source code is located in the src/ directory, and there is one test case included so far in the tests/ directory. ===== USAGE ===== ./maxflow [FILE] The FILE parameter is optional; if unspecified, it will default to "challenge.net". Otherwise, it will read the input network from FILE. The format of the file must be in the DIMACS format, and must be syntactically correct (otherwise the behaviour is undefined). The DIMACS format is described in the source code, as well as at the following webpage: http://lpsolve.sourceforge.net/5.5/DIMACS_maxf.htm The value of the maximum flow is displayed upon termination of this program. ========= ALGORITHM ========= The algorithm used is the highest-level variant of the preflow-push algorithm, with several heuristics: - local relabeling heuristic - gap heuristic - global relabeling heuristic (actually this is only done twice) - 2-phase approach
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.