Changeset 7172 for trunk/sources/HeuristicLab.Algorithms.LocalSearch
- Timestamp:
- 12/12/11 03:39:04 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearch.cs
r6476 r7172 335 335 foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>()) 336 336 param.Depth = 0; 337 Analyzer.Operators.Add(analyzer );338 } 339 } 340 Analyzer.Operators.Add(moveQualityAnalyzer );337 Analyzer.Operators.Add(analyzer, analyzer.EnabledByDefault); 338 } 339 } 340 Analyzer.Operators.Add(moveQualityAnalyzer, moveQualityAnalyzer.EnabledByDefault); 341 341 } 342 342 private void ClearMoveParameters() { -
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchImprovementOperator.cs
r6052 r7172 244 244 } 245 245 return false; 246 } 246 } 247 247 248 248 private void UpdateAnalyzers() { … … 255 255 foreach (IScopeTreeLookupParameter param in clone.Parameters.OfType<IScopeTreeLookupParameter>()) 256 256 param.Depth = 0; 257 Analyzer.Operators.Add(clone );257 Analyzer.Operators.Add(clone, clone.EnabledByDefault); 258 258 } 259 259 } 260 260 } 261 Analyzer.Operators.Add(qualityAnalyzer );261 Analyzer.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault); 262 262 } 263 263
Note: See TracChangeset
for help on using the changeset viewer.