Changeset 8482
- Timestamp:
- 08/14/12 10:06:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/SamplesTest.cs
r8335 r8482 97 97 ConfigureGeneticAlgorithmParameters<ProportionalSelector, OrderCrossover2, InversionManipulator>( 98 98 ga, 100, 1, 1000, 0.05); 99 100 ga.Analyzer.Operators.SetItemCheckedState(ga.Analyzer.Operators101 .OfType<TSPAlleleFrequencyAnalyzer>()102 .Single(), false);103 ga.Analyzer.Operators.SetItemCheckedState(ga.Analyzer.Operators104 .OfType<TSPPopulationDiversityAnalyzer>()105 .Single(), false);106 99 #endregion 107 100 return ga; … … 555 548 UnidirectionalRingMigrator, BestSelector, WorstReplacer>( 556 549 ga, 100, 1, 1000, 0.05, 5, 50, 0.25); 557 558 ga.Analyzer.Operators.SetItemCheckedState(ga.Analyzer.Operators559 .OfType<TSPAlleleFrequencyAnalyzer>()560 .Single(), false);561 ga.Analyzer.Operators.SetItemCheckedState(ga.Analyzer.Operators562 .OfType<TSPPopulationDiversityAnalyzer>()563 .Single(), false);564 550 #endregion 565 551 return ga; … … 836 822 ts.TabuTenure.Value = 60; 837 823 838 ts.Analyzer.Operators.SetItemCheckedState(ts.Analyzer.Operators839 .OfType<TSPAlleleFrequencyAnalyzer>()840 .Single(), false);841 ts.Analyzer.Operators.SetItemCheckedState(ts.Analyzer.Operators842 .OfType<TSPPopulationDiversityAnalyzer>()843 .Single(), false);844 824 #endregion 845 825 ts.Engine = new ParallelEngine(); … … 920 900 .Single(), false); 921 901 vns.ShakingOperator = shakingOperator; 922 vns.Analyzer.Operators.SetItemCheckedState(vns.Analyzer.Operators923 .OfType<TSPAlleleFrequencyAnalyzer>()924 .Single(), false);925 vns.Analyzer.Operators.SetItemCheckedState(vns.Analyzer.Operators926 .OfType<TSPPopulationDiversityAnalyzer>()927 .Single(), false);928 902 #endregion 929 903 vns.Engine = new ParallelEngine();
Note: See TracChangeset
for help on using the changeset viewer.