- Timestamp:
- 03/06/15 13:07:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AgingScheme.cs
r12018 r12149 20 20 #endregion 21 21 22 using HeuristicLab.Common;23 using HeuristicLab.Core;24 using HeuristicLab.Data;25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 27 22 namespace HeuristicLab.Algorithms.ALPS { 28 public enum AgingScheme s{23 public enum AgingScheme { 29 24 Linear, 30 25 Fibonacci, … … 32 27 Exponential 33 28 } 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 }49 29 }
Note: See TracChangeset
for help on using the changeset viewer.