Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/15 13:07:20 (9 years ago)
Author:
pfleck
Message:

#2269 Removed AgingScheme type which inherited from EnumValue. Instead used EnumValue directly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AgingScheme.cs

    r12018 r12149  
    2020#endregion
    2121
    22 using HeuristicLab.Common;
    23 using HeuristicLab.Core;
    24 using HeuristicLab.Data;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    26 
    2722namespace HeuristicLab.Algorithms.ALPS {
    28   public enum AgingSchemes {
     23  public enum AgingScheme {
    2924    Linear,
    3025    Fibonacci,
     
    3227    Exponential
    3328  }
    34 
    35   [Item("AgingScheme", "Represents a certain type of an aging scheme.")]
    36   [StorableClass]
    37   public class AgingScheme : EnumValue<AgingSchemes> {
    38     [StorableConstructor]
    39     protected AgingScheme(bool deserializing) : base(deserializing) { }
    40     protected AgingScheme(AgingScheme original, Cloner cloner) : base(original, cloner) { }
    41 
    42     public AgingScheme() : base(AgingSchemes.Linear) { }
    43     public AgingScheme(AgingSchemes type) : base(type) { }
    44 
    45     public override IDeepCloneable Clone(Cloner cloner) {
    46       return new AgingScheme(this, cloner);
    47     }
    48   }
    4929}
Note: See TracChangeset for help on using the changeset viewer.