Get the weight of the link between two nodes.

Namespace: Tsp
Assembly: Tsp (in Tsp.exe) Versión: 1.0.0.0 (1.0.0.0)

Syntax

C#
public int GetWeight(
	int id1,
	int id2
)
Visual Basic
Public Function GetWeight ( _
	id1 As Integer, _
	id2 As Integer _
) As Integer
Visual C++
public:
int GetWeight(
	int id1, 
	int id2
)

Parameters

id1
Type: System..::..Int32
The first node identifier.
id2
Type: System..::..Int32
The second node identifier.

Return Value

The weight of the link between two nodes with the specified identifiers.

See Also