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 UnaryWeightsFromEdgeList(
	IEdgeListGraph graph
)
Visual Basic (Declaration)
Public Shared Function UnaryWeightsFromEdgeList ( _
	graph As IEdgeListGraph _
) As EdgeDoubleDictionary

Parameters

graph
Type: QuickGraph.Concepts.Traversals..::.IEdgeListGraph
graph to map

Return Value

Dictionary where each edge wheight is 1

See Also