Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/04/12 23:54:15 (12 years ago)
Author:
abeham
Message:

#1396: fixed loading errors when switching from coordinates to distance matrix evaluation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPDistanceMatrixEvaluator.cs

    r7558 r8221  
    5959      if (distances == null || distances.Rows == 0 || distances.Columns == 0
    6060        || distances.Rows != distances.Columns)
    61         throw new InvalidOperationException("The 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.");
    6363      Permutation p = tour;
    6464      double length = 0;
Note: See TracChangeset for help on using the changeset viewer.