Click or drag to resize

GraphAddEdge Method (Int32, Int32, Double)

Add edge between two vertices in graph, with specified weight. Vertices must already be part of graph

Namespace:  DHI.Mike1D.Generic.Graph
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public void AddEdge(
	int from,
	int to,
	double weight
)

Parameters

from
Type: SystemInt32

[Missing <param name="from"/> documentation for "M:DHI.Mike1D.Generic.Graph.Graph.AddEdge(System.Int32,System.Int32,System.Double)"]

to
Type: SystemInt32

[Missing <param name="to"/> documentation for "M:DHI.Mike1D.Generic.Graph.Graph.AddEdge(System.Int32,System.Int32,System.Double)"]

weight
Type: SystemDouble

[Missing <param name="weight"/> documentation for "M:DHI.Mike1D.Generic.Graph.Graph.AddEdge(System.Int32,System.Int32,System.Double)"]

See Also