Get the weight of the link between two nodes.
Namespace: TspAssembly: 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.