Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9479 for trunk


Ignore:
Timestamp:
05/10/13 00:25:20 (12 years ago)
Author:
swagner
Message:

Removed warnings (#1890)

Location:
trunk/sources
Files:
2 edited

Legend:

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

    r9456 r9479  
    251251        foreach (IAnalyzer analyzer in problem.Operators.OfType<IAnalyzer>()) {
    252252          if (!IsSubclassOfGeneric(typeof(AlleleFrequencyAnalyzer<>), analyzer.GetType()) &&
    253               !IsSubclassOfGeneric(typeof(PopulationDiversityAnalyzer<>), analyzer.GetType())) {
     253              !(analyzer is SingleObjectivePopulationDiversityAnalyzer)) {
    254254            IAnalyzer clone = analyzer.Clone() as IAnalyzer;
    255255            foreach (IScopeTreeLookupParameter param in clone.Parameters.OfType<IScopeTreeLookupParameter>())
  • trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingImprovementOperator.cs

    r9456 r9479  
    279279        foreach (IAnalyzer analyzer in problem.Operators.OfType<IAnalyzer>()) {
    280280          if (!IsSubclassOfGeneric(typeof(AlleleFrequencyAnalyzer<>), analyzer.GetType()) &&
    281               !IsSubclassOfGeneric(typeof(PopulationDiversityAnalyzer<>), analyzer.GetType())) {
     281              !(analyzer is SingleObjectivePopulationDiversityAnalyzer)) {
    282282            IAnalyzer clone = analyzer.Clone() as IAnalyzer;
    283283            foreach (IScopeTreeLookupParameter param in clone.Parameters.OfType<IScopeTreeLookupParameter>())
Note: See TracChangeset for help on using the changeset viewer.