Raise the NewBestTour event.

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

Syntax

C#
protected void OnNewBestTourFound(
	Tour bestTour,
	int generationNumber,
	bool complete
)
Visual Basic
Protected Sub OnNewBestTourFound ( _
	bestTour As Tour, _
	generationNumber As Integer, _
	complete As Boolean _
)
Visual C++
protected:
void OnNewBestTourFound(
	Tour^ bestTour, 
	int generationNumber, 
	bool complete
)

Parameters

bestTour
Type: Tsp.GA..::..Tour
The best tour the algorithm has found so far.
generationNumber
Type: System..::..Int32
How many generations have been performed.
complete
Type: System..::..Boolean
Is the TSP algorithm complete.

See Also