Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/07/15 13:52:48 (10 years ago)
Author:
abeham
Message:

#2174:

  • Added ISingleObjectiveOperator and IMultiObjectiveOperator interfaces
    • Added interface to all operators that would fall in either of these categories (excluding MainLoop operators)
  • Added some checks in BasicProblem on whether the MultiEncoding is being used
    • A new event handler is added that reacts on encodings being removed or added to the MultiEncoding
  • Added code to remove the non-fit operators in (Single|Multi)ObjectiveBasicProblem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.LinearAssignment/3.3/Analyzers/BestLAPSolutionAnalyzer.cs

    r11171 r11970  
    3333  [Item("BestLAPSolutionAnalyzer", "Analyzes the best solution found.")]
    3434  [StorableClass]
    35   public class BestLAPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer {
     35  public class BestLAPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator {
    3636    public bool EnabledByDefault { get { return true; } }
    3737
     
    101101      bool max = MaximizationParameter.ActualValue.Value;
    102102      DoubleValue bestKnownQuality = BestKnownQualityParameter.ActualValue;
    103      
     103
    104104      var sorted = qualities.Select((x, index) => new { index, x.Value }).OrderBy(x => x.Value).ToArray();
    105105      if (max) sorted = sorted.Reverse().ToArray();
Note: See TracChangeset for help on using the changeset viewer.