Connection Constructor

Comuna.NET

Connection Constructor

Creates a new Connection linking the given source and target with the associated weight.

Namespace:  Comuna
Assembly:  Comuna (in Comuna.dll) Version: 1.0.0
Syntax
C#
public Connection(
	uint source,
	uint target,
	double weight = 1
)
Request Example View Source

Parameters

source
Type: SystemUInt32
The source of the connection.
target
Type: SystemUInt32
The target of the connection.
weight (Optional)
Type: SystemDouble
The weight associated with the connection.
See Also