Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8118 for trunk/sources


Ignore:
Timestamp:
06/26/12 12:27:42 (12 years ago)
Author:
svonolfe
Message:

Disabled local analyzers by default in the improvement operators (#1881)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchImprovementOperator.cs

    r7999 r8118  
    255255            foreach (IScopeTreeLookupParameter param in clone.Parameters.OfType<IScopeTreeLookupParameter>())
    256256              param.Depth = 0;
    257             Analyzer.Operators.Add(clone, clone.EnabledByDefault);
     257            Analyzer.Operators.Add(clone, false);
    258258          }
    259259        }
    260260      }
    261       Analyzer.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault);
     261      Analyzer.Operators.Add(qualityAnalyzer, false);
    262262    }
    263263
  • trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingImprovementOperator.cs

    r7999 r8118  
    279279            foreach (IScopeTreeLookupParameter param in clone.Parameters.OfType<IScopeTreeLookupParameter>())
    280280              param.Depth = 0;
    281             Analyzer.Operators.Add(clone, clone.EnabledByDefault);
     281            Analyzer.Operators.Add(clone, false);
    282282          }
    283283        }
    284284      }
    285       Analyzer.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault);
     285      Analyzer.Operators.Add(qualityAnalyzer, false);
    286286    }
    287287
Note: See TracChangeset for help on using the changeset viewer.