- Timestamp:
- 12/20/11 11:45:18 (13 years ago)
- Location:
- branches/HeuristicLab.TimeSeries
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Algorithms.TabuSearch/3.3/TabuNeighborhoodAnalyzer.cs
r5445 r7213 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/HeuristicLab.TimeSeries/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearch.cs
r6476 r7213 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.