Makes that all the nodes in this graph mantains only the k closest edges in its links, removing the other ones.

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

Syntax

C#
public void TakeOnlyKClosestEdges(
	int kClosest
)
Visual Basic
Public Sub TakeOnlyKClosestEdges ( _
	kClosest As Integer _
)
Visual C++
public:
void TakeOnlyKClosestEdges(
	int kClosest
)

Parameters

kClosest
Type: System..::..Int32
The number of edges to mantain.

See Also