Changeset 3143 for trunk/sources/HeuristicLab.Algorithms.LocalSearch
- Timestamp:
- 03/20/10 19:04:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchMainLoop.cs
r3134 r3143 164 164 165 165 moveGenerator.Name = "MoveGenerator (placeholder)"; 166 moveGenerator.OperatorParameter.ActualName = "MoveGenerator";166 moveGenerator.OperatorParameter.ActualName = MoveGeneratorParameter.Name; 167 167 168 168 moveEvaluator.Name = "MoveEvaluator (placeholder)"; 169 moveEvaluator.OperatorParameter.ActualName = "MoveEvaluator";169 moveEvaluator.OperatorParameter.ActualName = MoveEvaluatorParameter.Name; 170 170 171 171 bestSelector.CopySelected = new BoolValue(false); 172 bestSelector.MaximizationParameter.ActualName = "Maximization";172 bestSelector.MaximizationParameter.ActualName = MaximizationParameter.Name; 173 173 bestSelector.NumberOfSelectedSubScopesParameter.Value = new IntValue(1); 174 bestSelector.QualityParameter.ActualName = "MoveQuality";174 bestSelector.QualityParameter.ActualName = MoveQualityParameter.Name; 175 175 176 176 moveMakingProcessor.Name = "MoveMaking processor (UniformSequentialSubScopesProcessor)"; 177 177 178 qualityComparator.LeftSideParameter.ActualName = "MoveQuality";179 qualityComparator.RightSideParameter.ActualName = "Quality";178 qualityComparator.LeftSideParameter.ActualName = MoveQualityParameter.Name; 179 qualityComparator.RightSideParameter.ActualName = QualityParameter.Name; 180 180 qualityComparator.ResultParameter.ActualName = "IsBetter"; 181 181 … … 183 183 184 184 moveMaker.Name = "MoveMaker (placeholder)"; 185 moveMaker.OperatorParameter.ActualName = "MoveMaker";185 moveMaker.OperatorParameter.ActualName = MoveMakerParameter.Name; 186 186 187 187 subScopesRemover.RemoveAllSubScopes = true; … … 191 191 iterationsCounter.ValueParameter.ActualName = "Iterations"; 192 192 193 iterationsComparator.Name = "Iterations Comparator";194 iterationsComparator.Comparison = new Comparison(ComparisonType. Less);193 iterationsComparator.Name = "Iterations >= MaximumIterations"; 194 iterationsComparator.Comparison = new Comparison(ComparisonType.GreaterOrEqual); 195 195 iterationsComparator.LeftSideParameter.ActualName = "Iterations"; 196 iterationsComparator.RightSideParameter.ActualName = "MaximumIterations";197 iterationsComparator.ResultParameter.ActualName = " IterationsCondition";196 iterationsComparator.RightSideParameter.ActualName = MaximumIterationsParameter.Name; 197 iterationsComparator.ResultParameter.ActualName = "Terminate"; 198 198 199 199 bestQualityMemorizer3.BestQualityParameter.ActualName = BestKnownQualityParameter.Name; … … 218 218 219 219 iterationsTermination.Name = "Iterations Termination Condition"; 220 iterationsTermination.ConditionParameter.ActualName = " IterationsCondition";220 iterationsTermination.ConditionParameter.ActualName = "Terminate"; 221 221 #endregion 222 222 … … 252 252 qualityDifferenceCalculator2.Successor = visualizer2; 253 253 visualizer2.Successor = iterationsTermination; 254 iterationsTermination.TrueBranch = mainProcessor;255 iterationsTermination.FalseBranch = null;254 iterationsTermination.TrueBranch = null; 255 iterationsTermination.FalseBranch = mainProcessor; 256 256 #endregion 257 257 }
Note: See TracChangeset
for help on using the changeset viewer.