Changeset 17544 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/TSP.cs
- Timestamp:
- 05/18/20 18:55:08 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TravelingSalesman/3.3/TSP.cs
r17525 r17544 76 76 77 77 TSPData = new EuclideanTSPData(); 78 Encoding.Length= TSPData.Cities;78 Dimension = TSPData.Cities; 79 79 80 80 InitializeOperators(); … … 140 140 throw new System.IO.InvalidDataException("The coordinates of the given instance are not in the right format, there need to be one row for each customer and two columns for the x and y coordinates."); 141 141 142 Encoding.Length= data.Dimension;142 Dimension = data.Dimension; 143 143 Name = data.Name; 144 144 Description = data.Description; … … 212 212 protected override void OnEncodingChanged() { 213 213 base.OnEncodingChanged(); 214 Encoding.Length= TSPData.Cities;214 Dimension = TSPData.Cities; 215 215 ParameterizeOperators(); 216 216 }
Note: See TracChangeset
for help on using the changeset viewer.