Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/12/11 03:39:04 (13 years ago)
Author:
swagner
Message:

Disabled run-time intensive analyzers by default (#1584)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.QuadraticAssignment.Algorithms/3.3/RobustTabooSearch.cs

    r7040 r7172  
    382382      if (Problem != null) {
    383383        foreach (IAnalyzer analyzer in ((IProblem)Problem).Operators.OfType<IAnalyzer>()) {
    384           AnalyzerParameter.Value.Operators.Add(analyzer);
     384          AnalyzerParameter.Value.Operators.Add(analyzer, analyzer.EnabledByDefault);
    385385          if (!(analyzer is BestQAPSolutionAnalyzer))
    386386            AnalyzerParameter.Value.Operators.SetItemCheckedState(analyzer, false);
    387387        }
    388388      }
    389       AnalyzerParameter.Value.Operators.Add(qualityAnalyzer);
     389      AnalyzerParameter.Value.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault);
    390390    }
    391391
Note: See TracChangeset for help on using the changeset viewer.