Click or drag to resize

AlgorithmExtensionsShortestPathsBellmanFordTVertex, TEdge Method

Namespace:  QuickGraph.Algorithms
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static TryFunc<TVertex, IEnumerable<TEdge>> ShortestPathsBellmanFord<TVertex, TEdge>(
	this IVertexAndEdgeListGraph<TVertex, TEdge> visitedGraph,
	Func<TEdge, double> edgeWeights,
	TVertex source
)
where TEdge : Object, IEdge<TVertex>

Parameters

visitedGraph
Type: QuickGraphIVertexAndEdgeListGraphTVertex, TEdge
edgeWeights
Type: SystemFuncTEdge, Double
source
Type: TVertex

Type Parameters

TVertex
TEdge

Return Value

Type: TryFuncTVertex, IEnumerableTEdge

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IVertexAndEdgeListGraphTVertex, 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