- Timestamp:
- 05/10/10 15:10:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithmMainOperator.cs
r3715 r3740 134 134 WeightedParentsQualityComparator qualityComparer2 = new WeightedParentsQualityComparator(); 135 135 SubScopesRemover subScopesRemover = new SubScopesRemover(); 136 ConditionalSelector conditionalSelector = new ConditionalSelector();137 136 OffspringSelector offspringSelector = new OffspringSelector(); 138 137 SubScopesProcessor subScopesProcessor2 = new SubScopesProcessor(); … … 201 200 subScopesRemover.RemoveAllSubScopes = true; 202 201 203 conditionalSelector.CopySelected = new BoolValue(false);204 conditionalSelector.ConditionParameter.ActualName = "SuccessfulOffspring";205 206 202 offspringSelector.CurrentSuccessRatioParameter.ActualName = CurrentSuccessRatioParameter.Name; 207 offspringSelector.LuckyLosersParameter.ActualName = "OSLuckyLosers";208 203 offspringSelector.MaximumSelectionPressureParameter.ActualName = MaximumSelectionPressureParameter.Name; 209 204 offspringSelector.SelectionPressureParameter.ActualName = SelectionPressureParameter.Name; 210 205 offspringSelector.SuccessRatioParameter.ActualName = SuccessRatioParameter.Name; 211 offspringSelector.WinnersParameter.ActualName = "OSWinners"; 206 offspringSelector.OffspringPopulationParameter.ActualName = "OffspringPopulation"; 207 offspringSelector.OffspringPopulationWinnersParameter.ActualName = "OffspringPopulationWinners"; 208 offspringSelector.SuccessfulOffspringParameter.ActualName = "SuccessfulOffspring"; 212 209 213 210 bestSelector.CopySelected = new BoolValue(false); … … 230 227 childrenCreator.Successor = uniformSubScopesProcessor; 231 228 uniformSubScopesProcessor.Operator = crossover; 232 uniformSubScopesProcessor.Successor = conditionalSelector;229 uniformSubScopesProcessor.Successor = null; 233 230 crossover.Successor = osBeforeMutationBranch; 234 231 osBeforeMutationBranch.TrueBranch = evaluator1;
Note: See TracChangeset
for help on using the changeset viewer.