Find the cities that are closest to this one.
Namespace: Tsp.GAAssembly: Tsp (in Tsp.exe) Versión: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void FindClosestCities(
int numberOfCloseCities
) |
Visual Basic |
---|
Public Sub FindClosestCities ( _
numberOfCloseCities As Integer _
) |
Visual C++ |
---|
public:
void FindClosestCities(
int numberOfCloseCities
) |
Parameters
- numberOfCloseCities
- Type: System..::..Int32
When creating the initial population of tours, this is a greater chance
that a nearby city will be chosen for a link. This is the number of nearby cities that will be considered close.
See Also