Constructor that sets all the properties.
Namespace: Tsp.GAAssembly: Tsp (in Tsp.exe) Versión: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public TspGAEventArgs( Cities cityList, Tour bestTour, int generation, bool complete ) |
Visual Basic |
---|
Public Sub New ( _ cityList As Cities, _ bestTour As Tour, _ generation As Integer, _ complete As Boolean _ ) |
Visual C++ |
---|
public: TspGAEventArgs( Cities^ cityList, Tour^ bestTour, int generation, bool complete ) |
Parameters
- cityList
- Type: Tsp.GA..::..Cities
The list of cities to draw.
- bestTour
- Type: Tsp.GA..::..Tour
The tour that connects all the cities.
- generation
- Type: System..::..Int32
Which generation is this.
- complete
- Type: System..::..Boolean
Is this the last update before we are done.