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.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs

    r6439 r7172  
    3333using HeuristicLab.PluginInfrastructure;
    3434using HeuristicLab.Random;
    35 using System.Collections.Generic;
    3635
    3736namespace HeuristicLab.Algorithms.GeneticAlgorithm {
     
    377376          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    378377            param.Depth = 1;
    379           Analyzer.Operators.Add(analyzer);
     378          Analyzer.Operators.Add(analyzer, analyzer.EnabledByDefault);
    380379        }
    381380      }
    382       Analyzer.Operators.Add(qualityAnalyzer);
     381      Analyzer.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault);
    383382    }
    384383    private GeneticAlgorithmMainLoop FindMainLoop(IOperator start) {
Note: See TracChangeset for help on using the changeset viewer.