Changeset 3143
- Timestamp:
- 03/20/10 19:04:06 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 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 } -
trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearchMainLoop.cs
r3141 r3143 212 212 iterationsCounter.ValueParameter.ActualName = "Iterations"; 213 213 214 iterationsComparator.Name = "Iterations Comparator";215 iterationsComparator.Comparison = new Comparison(ComparisonType. Less);214 iterationsComparator.Name = "Iterations >= MaximumIterations"; 215 iterationsComparator.Comparison = new Comparison(ComparisonType.GreaterOrEqual); 216 216 iterationsComparator.LeftSideParameter.ActualName = "Iterations"; 217 217 iterationsComparator.RightSideParameter.ActualName = MaximumIterationsParameter.Name; 218 iterationsComparator.ResultParameter.ActualName = " IterationsCondition";218 iterationsComparator.ResultParameter.ActualName = "Terminate"; 219 219 220 220 bestQualityMemorizer3.BestQualityParameter.ActualName = "BestQuality"; … … 235 235 236 236 iterationsTermination.Name = "Iterations Termination Condition"; 237 iterationsTermination.ConditionParameter.ActualName = " IterationsCondition";237 iterationsTermination.ConditionParameter.ActualName = "Terminate"; 238 238 #endregion 239 239 … … 270 270 qualityDifferenceCalculator2.Successor = visualizer2; 271 271 visualizer2.Successor = iterationsTermination; 272 iterationsTermination.TrueBranch = mainProcessor;273 iterationsTermination.FalseBranch = null;272 iterationsTermination.TrueBranch = null; 273 iterationsTermination.FalseBranch = mainProcessor; 274 274 #endregion 275 275 }
Note: See TracChangeset
for help on using the changeset viewer.