- Timestamp:
- 07/27/12 16:17:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/RAPGAMainLoop.cs
r8330 r8349 151 151 ConditionalSelector conditionalSelector = new ConditionalSelector(); 152 152 RightReducer rightReducer1 = new RightReducer(); 153 UniformSubScopesProcessor uniformSubScopesProcessor3 = new UniformSubScopesProcessor(); 154 SubScopesRemover subScopesRemover = new SubScopesRemover(); 155 DuplicateSelector duplicateSelector = new DuplicateSelector(); 156 LeftReducer leftReducer = new LeftReducer(); 153 157 SubScopesCounter subScopesCounter1 = new SubScopesCounter(); 154 158 IntCounter intCounter1 = new IntCounter(); 155 UniformSubScopesProcessor uniformSubScopesProcessor3 = new UniformSubScopesProcessor();156 SubScopesRemover subScopesRemover = new SubScopesRemover();157 159 Comparator comparator2 = new Comparator(); 158 160 ConditionalBranch conditionalBranch1 = new ConditionalBranch(); … … 217 219 conditionalSelector.CopySelected.Value = false; 218 220 221 duplicateSelector.CopySelected.Value = false; 222 223 uniformSubScopesProcessor3.Parallel.Value = true; 224 225 subScopesRemover.RemoveAllSubScopes = true; 226 219 227 subScopesCounter1.Name = "Count Successful Offspring"; 220 228 subScopesCounter1.ValueParameter.ActualName = "NumberOfSuccessfulOffspring"; … … 223 231 intCounter1.IncrementParameter.Value = null; 224 232 intCounter1.ValueParameter.ActualName = EvaluatedSolutionsParameter.Name; 225 226 uniformSubScopesProcessor3.Parallel.Value = true;227 228 subScopesRemover.RemoveAllSubScopes = true;229 233 230 234 comparator2.Comparison = new Comparison(ComparisonType.GreaterOrEqual); … … 267 271 assigner2.RightSideParameter.Value = new IntValue(0); 268 272 269 subScopesCounter2.Name = " Increment EvaluatedSolutions";273 subScopesCounter2.Name = "Set CurrentPopulationSize"; 270 274 subScopesCounter2.ValueParameter.ActualName = "CurrentPopulationSize"; 271 275 … … 304 308 evaluator.Successor = comparator1; 305 309 conditionalSelector.Successor = rightReducer1; 306 rightReducer1.Successor = subScopesCounter1; 310 rightReducer1.Successor = uniformSubScopesProcessor3; 311 uniformSubScopesProcessor3.Operator = subScopesRemover; 312 uniformSubScopesProcessor3.Successor = duplicateSelector; 313 duplicateSelector.Successor = leftReducer; 314 leftReducer.Successor = subScopesCounter1; 307 315 subScopesCounter1.Successor = intCounter1; 308 intCounter1.Successor = uniformSubScopesProcessor3; 309 uniformSubScopesProcessor3.Operator = subScopesRemover; 310 uniformSubScopesProcessor3.Successor = comparator2; 316 intCounter1.Successor = comparator2; 311 317 comparator2.Successor = conditionalBranch1; 312 318 conditionalBranch1.TrueBranch = bestSelector1;
Note: See TracChangeset
for help on using the changeset viewer.