- Timestamp:
- 01/02/12 11:40:31 (13 years ago)
- Location:
- branches/RegressionBenchmarks
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks
-
branches/RegressionBenchmarks/HeuristicLab.Algorithms.TabuSearch/3.3/TabuNeighborhoodAnalyzer.cs
r5445 r7255 33 33 [Item("TabuNeighborhoodAnalyzer", "Analyzes the tabu neighborhood")] 34 34 public class TabuNeighborhoodAnalyzer : SingleSuccessorOperator, IAnalyzer { 35 public virtual bool EnabledByDefault { 36 get { return true; } 37 } 38 35 39 public ScopeTreeLookupParameter<BoolValue> IsTabuParameter { 36 40 get { return (ScopeTreeLookupParameter<BoolValue>)Parameters["IsTabu"]; } -
branches/RegressionBenchmarks/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearch.cs
r6476 r7255 407 407 foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>()) 408 408 param.Depth = 0; 409 Analyzer.Operators.Add(analyzer );410 } 411 } 412 Analyzer.Operators.Add(moveQualityAnalyzer );413 Analyzer.Operators.Add(tabuNeighborhoodAnalyzer );409 Analyzer.Operators.Add(analyzer, analyzer.EnabledByDefault); 410 } 411 } 412 Analyzer.Operators.Add(moveQualityAnalyzer, moveQualityAnalyzer.EnabledByDefault); 413 Analyzer.Operators.Add(tabuNeighborhoodAnalyzer, tabuNeighborhoodAnalyzer.EnabledByDefault); 414 414 } 415 415 private void ClearMoveParameters() {
Note: See TracChangeset
for help on using the changeset viewer.