Ignore:
Timestamp:
01/02/19 15:03:37 (8 months ago)
Author:
gkronber
Message:

#2520: checked and added StorableType attribute projects included in HeuristicLab 3.3.sln

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Selection/3.3/EvolutionStrategyOffspringSelector.cs

    r16462 r16479  
    3333  [StorableType("CE585C3C-5139-44F0-9CB2-CC901A290831")]
    3434  public class EvolutionStrategyOffspringSelector : SingleSuccessorOperator {
    35 
     35    [StorableType("F1CA99A7-E9C2-49F3-8030-5CEE407357AA")]
    3636    private class FitnessComparer : IComparer<IScope> {
    3737
    3838      #region IComparer<IScope> Member
    39 
    40       private String qualityParameterName;
     39      [Storable]
     40      private string qualityParameterName;
     41      [Storable]
    4142      private bool maximization;
    4243
    43       public FitnessComparer(String qualityParamName, bool maximization) {
     44      [StorableConstructor]
     45      protected FitnessComparer(StorableConstructorFlag _) { }
     46
     47      public FitnessComparer(string qualityParamName, bool maximization) {
    4448        this.qualityParameterName = qualityParamName;
    4549        this.maximization = maximization;
Note: See TracChangeset for help on using the changeset viewer.