Changeset 7626 for trunk/sources/HeuristicLab.Problems.TravelingSalesman
- Timestamp:
- 03/16/12 09:56:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r7621 r7626 226 226 Operators.Add(new TSPPopulationDiversityAnalyzer()); 227 227 ParameterizeAnalyzers(); 228 Operators.AddRange(ApplicationManager.Manager.GetInstances<IPermutationOperator>().Cast<IOperator>()); 228 var defaultOperators = new HashSet<IPermutationOperator>(new IPermutationOperator[] { 229 new OrderCrossover2(), 230 new InversionManipulator(), 231 new StochasticInversionMultiMoveGenerator() 232 }); 233 Operators.AddRange(defaultOperators); 234 Operators.AddRange(ApplicationManager.Manager.GetInstances<IPermutationOperator>().Except(defaultOperators, new TypeEqualityComparer<IPermutationOperator>())); 229 235 ParameterizeOperators(); 230 236 UpdateMoveEvaluators();
Note: See TracChangeset
for help on using the changeset viewer.