Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/27/11 12:01:10 (13 years ago)
Author:
abeham
Message:

#1663

  • Added hiding of Maximization parameter
  • Fixed AfterDeserializationHook in KnapsackProblem
  • Ported ArtificialAntProblem to use the SingleObjectiveHeuristicOptimizationProblem base class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs

    r6938 r6939  
    114114
    115115      Maximization.Value = true;
     116      MaximizationParameter.Hidden = true;
    116117
    117118      SolutionCreator.BinaryVectorParameter.ActualName = "KnapsackSolution";
     
    191192      // BackwardsCompatibility3.3
    192193      #region Backwards compatible code (remove with 3.4)
    193       if (Operators.Count > 0) InitializeOperators();
     194      if (Operators.Count == 0) InitializeOperators();
    194195      #endregion
    195196      AttachEventHandlers();
Note: See TracChangeset for help on using the changeset viewer.