- Timestamp:
- 05/07/20 17:41:18 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/ProbabilisticTSPData.cs
r17335 r17525 58 58 } 59 59 public ProbabilisticTSPData(ITSPData tspData, double[] probabilities) 60 : base(tspData.Name, tspData.Description) { 61 if (tspData.Cities != probabilities.Length) throw new ArgumentException("Unequal number of cities and probabilities."); 62 TSPData = tspData; 63 Probabilities = new PercentArray(probabilities, @readonly: true); 64 } 60 : this(tspData, new PercentArray(probabilities, @readonly: true)) { } 65 61 public ProbabilisticTSPData(ITSPData tspData, PercentArray probabilities) 66 62 : base(tspData.Name, tspData.Description) {
Note: See TracChangeset
for help on using the changeset viewer.