Create a edge unary weight dictionary.

Namespace:  QuickGraph.Algorithms.ShortestPath
Assembly:  QuickGraph.Algorithms (in QuickGraph.Algorithms.dll) Version: 2.4.2.1502 (2.4.2.1502)

Syntax

C#
public static EdgeDoubleDictionary UnaryWeightsFromVertexList(
	IVertexListGraph graph
)
Visual Basic (Declaration)
Public Shared Function UnaryWeightsFromVertexList ( _
	graph As IVertexListGraph _
) As EdgeDoubleDictionary

Return Value

Dictionary where each edge wheight is 1

See Also