Changeset 5356 for trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithmMainLoop.cs
- Timestamp:
- 01/22/11 15:18:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithmMainLoop.cs
r5352 r5356 141 141 IntCounter intCounter = new IntCounter(); 142 142 Comparator comparator = new Comparator(); 143 ResultsCollector resultsCollector2 = new ResultsCollector();144 143 Placeholder analyzer2 = new Placeholder(); 145 144 ConditionalBranch conditionalBranch = new ConditionalBranch(); … … 148 147 149 148 resultsCollector1.CollectedValues.Add(new LookupParameter<IntValue>("Generations")); 150 resultsCollector1.CollectedValues.Add(new LookupParameter<IntValue>(EvaluatedSolutionsParameter.Name));151 149 resultsCollector1.ResultsParameter.ActualName = "Results"; 152 150 … … 190 188 comparator.ResultParameter.ActualName = "Terminate"; 191 189 comparator.RightSideParameter.ActualName = "MaximumGenerations"; 192 193 resultsCollector2.CollectedValues.Add(new LookupParameter<IntValue>("Generations"));194 resultsCollector2.CollectedValues.Add(new LookupParameter<IntValue>(EvaluatedSolutionsParameter.Name));195 resultsCollector2.ResultsParameter.ActualName = "Results";196 190 197 191 analyzer2.Name = "Analyzer"; … … 230 224 mergingReducer.Successor = intCounter; 231 225 intCounter.Successor = comparator; 232 comparator.Successor = resultsCollector2; 233 resultsCollector2.Successor = analyzer2; 226 comparator.Successor = analyzer2; 234 227 analyzer2.Successor = conditionalBranch; 235 228 conditionalBranch.FalseBranch = selector;
Note: See TracChangeset
for help on using the changeset viewer.