Changeset 9858
- Timestamp:
- 08/07/13 07:41:17 (11 years ago)
- Location:
- stable
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 9848
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.TravelingSalesman/3.3/HeuristicLab.Problems.TravelingSalesman-3.3.csproj
r8600 r9858 119 119 <Compile Include="Evaluators\TSPEuclideanPathEvaluator.cs" /> 120 120 <Compile Include="Evaluators\TSPGeoPathEvaluator.cs" /> 121 <Compile Include="Evaluators\TSPUpperEuclideanPathEvaluator.cs" /> 121 122 <Compile Include="Improvers\TSPImprovementOperator.cs" /> 122 123 <Compile Include="Interfaces\ITSPDistanceMatrixEvaluator.cs" /> -
stable/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r9456 r9858 382 382 if (data.Dimension > DistanceMatrixSizeLimit && (data.DistanceMeasure == DistanceMeasure.Att 383 383 || data.DistanceMeasure == DistanceMeasure.Manhattan 384 || data.DistanceMeasure == DistanceMeasure.Maximum 385 || data.DistanceMeasure == DistanceMeasure.UpperEuclidean)) 384 || data.DistanceMeasure == DistanceMeasure.Maximum)) 386 385 throw new System.IO.InvalidDataException("The given instance uses an unsupported distance measure and is too large for using a distance matrix."); 387 386 if (data.Coordinates != null && data.Coordinates.GetLength(1) != 2) … … 399 398 if (data.DistanceMeasure == DistanceMeasure.Att 400 399 || data.DistanceMeasure == DistanceMeasure.Manhattan 401 || data.DistanceMeasure == DistanceMeasure.Maximum 402 || data.DistanceMeasure == DistanceMeasure.UpperEuclidean) { 400 || data.DistanceMeasure == DistanceMeasure.Maximum) { 403 401 evaluator = new TSPDistanceMatrixEvaluator(); 404 402 UseDistanceMatrix = new BoolValue(true); … … 418 416 evaluator = new TSPRoundedEuclideanPathEvaluator(); 419 417 break; 418 case DistanceMeasure.UpperEuclidean: 419 evaluator = new TSPUpperEuclideanPathEvaluator(); 420 break; 420 421 case DistanceMeasure.Geo: 421 422 evaluator = new TSPGeoPathEvaluator();
Note: See TracChangeset
for help on using the changeset viewer.