Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
networks[dinic] - augmenting-path flow algorithm
Calling Sequence
dinic(G, s, t, eset, comp)
dinic(G, s, t, eset, comp, n)
Parameters
G
-
graph or network
s
source vertex for the flow
t
sink vertex for the flow
eset
name to return the set of saturated edges
comp
name to return the set of vertices in eset
n
integer upper bound for the flow
Description
Important: The networks package has been deprecated. Use the superseding package GraphTheory instead.
This routine returns the maximum flow from s to t in G. It is normally called by the routine flow() which performs some setup and preliminary analysis based on edge-connectivity calculations.
Edge weights of G are interpreted as capacities.
If a non-negative integer upper bound n is specified for the flow then the routine terminates after a flow of n in G is found even if greater flows are possible.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[dinic](...).
Examples
See Also
GraphTheory, networks(deprecated)[shortpathtree], networks(deprecated)[spantree]
Download Help Document