- Timestamp:
- 05/29/13 14:30:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithmMainLoop.cs
r9553 r9555 148 148 ConditionalBranch conditionalBranch = new ConditionalBranch(); 149 149 ConditionalBranch reevaluateElitesBranch = new ConditionalBranch(); 150 UniformSubScopesProcessor uniformSubScopesProcessor3 = new UniformSubScopesProcessor();151 Placeholder evaluator2 = new Placeholder();152 SubScopesCounter subScopesCounter2 = new SubScopesCounter();153 150 154 151 variableCreator.CollectedValues.Add(new ValueParameter<IntValue>("Generations", new IntValue(0))); // Class GeneticAlgorithm expects this to be called Generations … … 204 201 reevaluateElitesBranch.ConditionParameter.ActualName = "ReevaluateElites"; 205 202 reevaluateElitesBranch.Name = "Reevaluate elites ?"; 206 207 uniformSubScopesProcessor3.Parallel.Value = true;208 209 evaluator2.Name = "Evaluator";210 evaluator2.OperatorParameter.ActualName = "Evaluator";211 212 subScopesCounter2.Name = "Increment EvaluatedSolutions";213 subScopesCounter2.ValueParameter.ActualName = EvaluatedSolutionsParameter.Name;214 215 203 #endregion 216 204 … … 242 230 bestSelector.Successor = rightReducer; 243 231 rightReducer.Successor = reevaluateElitesBranch; 244 reevaluateElitesBranch.TrueBranch = uniformSubScopesProcessor3; 245 uniformSubScopesProcessor3.Operator = evaluator; 246 uniformSubScopesProcessor3.Successor = subScopesCounter2; 232 reevaluateElitesBranch.TrueBranch = uniformSubScopesProcessor2; 247 233 reevaluateElitesBranch.FalseBranch = null; 248 234 reevaluateElitesBranch.Successor = null;
Note: See TracChangeset
for help on using the changeset viewer.