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)

Location:
trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3
Files:
2 edited

Legend:

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

    r6476 r7172  
    452452          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    453453            param.Depth = 0;
    454           Analyzer.Operators.Add(analyzer);
    455         }
    456       }
    457       Analyzer.Operators.Add(qualityAnalyzer);
     454          Analyzer.Operators.Add(analyzer, analyzer.EnabledByDefault);
     455        }
     456      }
     457      Analyzer.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault);
    458458    }
    459459    private SimulatedAnnealingMainLoop FindMainLoop(IOperator start) {
  • trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingImprovementOperator.cs

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