Creates a new instance of Node.

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

Syntax

C#
public Node(
	int id,
	int numNodes
)
Visual Basic
Public Sub New ( _
	id As Integer, _
	numNodes As Integer _
)
Visual C++
public:
Node(
	int id, 
	int numNodes
)

Parameters

id
Type: System..::..Int32
The node identifier.
numNodes
Type: System..::..Int32
The whole number of nodes that the graph will contain.

See Also