Click or drag to resize

AlgorithmExtensionsMaximumFlowEdmondsKarpTVertex, TEdge Method

Namespace:  QuickGraph.Algorithms
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static double MaximumFlowEdmondsKarp<TVertex, TEdge>(
	this IMutableVertexAndEdgeListGraph<TVertex, TEdge> visitedGraph,
	Func<TEdge, double> edgeCapacities,
	TVertex source,
	TVertex sink,
	out TryFunc<TVertex, TEdge> flowPredecessors,
	EdgeFactory<TVertex, TEdge> edgeFactory
)
where TEdge : Object, IEdge<TVertex>

Parameters

visitedGraph
Type: QuickGraphIMutableVertexAndEdgeListGraphTVertex, TEdge
edgeCapacities
Type: SystemFuncTEdge, Double
source
Type: TVertex
sink
Type: TVertex
flowPredecessors
Type: QuickGraphTryFuncTVertex, TEdge
edgeFactory
Type: QuickGraphEdgeFactoryTVertex, TEdge

Type Parameters

TVertex
TEdge

Return Value

Type: Double

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMutableVertexAndEdgeListGraphTVertex, TEdge. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also