Changeset 3340 for trunk/sources/HeuristicLab.Problems.TravelingSalesman
- Timestamp:
- 04/14/10 03:52:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r3303 r3340 363 363 op.PermutationParameter.ActualName = SolutionCreator.PermutationParameter.ActualName; 364 364 } 365 string inversionMove = Operators.OfType<IMoveGenerator>().OfType<IPermutationInversionMoveOperator>().First().InversionMoveParameter.ActualName; 366 foreach (IPermutationInversionMoveOperator op in Operators.OfType<IPermutationInversionMoveOperator>()) 367 op.InversionMoveParameter.ActualName = inversionMove; 368 string translocationMove = Operators.OfType<IMoveGenerator>().OfType<IPermutationTranslocationMoveOperator>().First().TranslocationMoveParameter.ActualName; 369 foreach (IPermutationTranslocationMoveOperator op in Operators.OfType<IPermutationTranslocationMoveOperator>()) 370 op.TranslocationMoveParameter.ActualName = translocationMove; 365 371 } 366 372
Note: See TracChangeset
for help on using the changeset viewer.