Changeset 3096 for trunk/sources/HeuristicLab.Algorithms.LS/3.3
- Timestamp:
- 03/18/10 04:11:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.LS/3.3/LSMainLoop.cs
r3078 r3096 97 97 UniformSequentialSubScopesProcessor moveEvaluationProcessor = new UniformSequentialSubScopesProcessor(); 98 98 Placeholder moveEvaluator = new Placeholder(); 99 SubScopesSorter moveQualitySorter = new SubScopesSorter(); 100 LeftSelector leftSelector = new LeftSelector(); 99 BestSelector bestSelector = new BestSelector(); 101 100 RightReducer rightReducer = new RightReducer(); 102 101 UniformSequentialSubScopesProcessor moveMakingProcessor = new UniformSequentialSubScopesProcessor(); … … 127 126 moveEvaluator.OperatorParameter.ActualName = "MoveEvaluator"; 128 127 129 moveQualitySorter.DescendingParameter.ActualName = "Maximization";130 moveQualitySorter.ValueParameter.ActualName = "MoveQuality";131 132 leftSelector.NumberOfSelectedSubScopesParameter.Value = new IntValue(1);128 bestSelector.CopySelected = new BoolValue(false); 129 bestSelector.MaximizationParameter.ActualName = "Maximization"; 130 bestSelector.NumberOfSelectedSubScopesParameter.Value = new IntValue(1); 131 bestSelector.QualityParameter.ActualName = "MoveQuality"; 133 132 134 133 moveMakingProcessor.Name = "MoveMaking processor (UniformSequentialSubScopesProcessor)"; … … 170 169 moveGenerator.Successor = moveEvaluationProcessor; 171 170 moveEvaluationProcessor.Operator = moveEvaluator; 172 moveEvaluationProcessor.Successor = moveQualitySorter; 173 moveQualitySorter.Successor = leftSelector; 174 leftSelector.Successor = rightReducer; 171 moveEvaluationProcessor.Successor = bestSelector; 172 bestSelector.Successor = rightReducer; 175 173 rightReducer.Successor = moveMakingProcessor; 176 174 moveMakingProcessor.Operator = qualityComparator;
Note: See TracChangeset
for help on using the changeset viewer.