Changeset 17544 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/ProbabilisticTSP.cs
- Timestamp:
- 05/18/20 18:55:08 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/ProbabilisticTSP.cs
r17533 r17544 70 70 71 71 ProbabilisticTSPData = new ProbabilisticTSPData(); 72 Encoding.Length = ProbabilisticTSPData.Cities; 73 } 74 75 protected override void OnEncodingChanged() { 76 base.OnEncodingChanged(); 77 Encoding.Length = ProbabilisticTSPData.Cities; 72 Dimension = ProbabilisticTSPData.Cities; 78 73 } 79 74 … … 112 107 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."); 113 108 114 Encoding.Length= data.Dimension;109 Dimension = data.Dimension; 115 110 Name = data.Name; 116 111 Description = data.Description;
Note: See TracChangeset
for help on using the changeset viewer.