Changeset 13193
- Timestamp:
- 11/16/15 21:31:28 (9 years ago)
- Location:
- stable/HeuristicLab.Problems.TravelingSalesman/3.3
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Problems.TravelingSalesman/3.3/HeuristicLab.Problems.TravelingSalesman-3.3.csproj
r11920 r13193 128 128 <Compile Include="Improvers\TSPImprovementOperator.cs" /> 129 129 <Compile Include="Interfaces\ITSPDistanceMatrixEvaluator.cs" /> 130 <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveDistanceMatrixEvaluator.cs" /> 130 131 <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveEuclideanPathEvaluator.cs" /> 131 132 <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveGeoPathEvaluator.cs" /> … … 134 135 <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveEuclideanPathEvaluator.cs" /> 135 136 <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveGeoPathEvaluator.cs" /> 137 <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveDistanceMatrixEvaluator.cs" /> 136 138 <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMovePathEvaluator.cs" /> 137 139 <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveRoundedEuclideanPathEvaluator.cs" /> -
stable/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r12708 r13193 254 254 private void UpdateMoveEvaluators() { 255 255 Operators.RemoveAll(x => x is ISingleObjectiveMoveEvaluator); 256 foreach ( ITSPPathMoveEvaluator op in ApplicationManager.Manager.GetInstances<ITSPPathMoveEvaluator>())256 foreach (var op in ApplicationManager.Manager.GetInstances<ITSPMoveEvaluator>()) 257 257 if (op.EvaluatorType == Evaluator.GetType()) { 258 258 Operators.Add(op); … … 432 432 try { 433 433 EvaluateAndLoadTour(data.BestKnownTour); 434 } 435 catch (InvalidOperationException) { 434 } catch (InvalidOperationException) { 436 435 if (data.BestKnownQuality.HasValue) 437 436 BestKnownQuality = new DoubleValue(data.BestKnownQuality.Value);
Note: See TracChangeset
for help on using the changeset viewer.