Creates a random graph with the specified parameters.

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

Syntax

C#
public static Graph Random(
	int nbNodes
)
Visual Basic
Public Shared Function Random ( _
	nbNodes As Integer _
) As Graph
Visual C++
public:
static Graph^ Random(
	int nbNodes
)

Parameters

nbNodes
Type: System..::..Int32
The number of nodes that the graph will contain.

Return Value

The resulting graph.

See Also