- Timestamp:
- 07/04/12 23:54:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPDistanceMatrixEvaluator.cs
r7558 r8221 59 59 if (distances == null || distances.Rows == 0 || distances.Columns == 0 60 60 || distances.Rows != distances.Columns) 61 throw new InvalidOperationException("T he distance matrix is empty or not square");62 if (tour == null) throw new ArgumentNullException("tour", " No tour is given.");61 throw new InvalidOperationException("TSPDistanceMatrixEvaluator: The distance matrix is empty or not square"); 62 if (tour == null) throw new ArgumentNullException("tour", "TSPDistanceMatrixEvaluator: No tour is given."); 63 63 Permutation p = tour; 64 64 double length = 0;
Note: See TracChangeset
for help on using the changeset viewer.