Click or drag to resize
AdjacencyListWeightedDirectedGraphTAddEdges Method
Adds two edges between two vertices in this graph in O(1), weighted with the given value.

Namespace: Slash.Collections.Graphs
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public void AddEdges(
	T firstNode,
	T secondNode,
	int edgeWeight
)

Parameters

firstNode
Type: T
First vertex to add edges to.
secondNode
Type: T
Second vertex to add edges to.
edgeWeight
Type: SystemInt32
Weight of the new edges.
See Also