- Timestamp:
- 10/29/10 15:59:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Operators/3.3/DoubleCounter.cs
r4477 r4662 24 24 using HeuristicLab.Parameters; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Common; 26 27 27 28 namespace HeuristicLab.Operators { … … 43 44 } 44 45 46 [StorableConstructor] 47 private DoubleCounter(bool deserializing) : base(deserializing) { } 48 private DoubleCounter(DoubleCounter original, Cloner cloner) 49 : base(original, cloner) { 50 } 45 51 public DoubleCounter() 46 52 : base() { 47 53 Parameters.Add(new LookupParameter<DoubleValue>("Value", "The value which should be incremented.")); 48 54 Parameters.Add(new ValueLookupParameter<DoubleValue>("Increment", "The increment which is added to the value.", new DoubleValue(1))); 55 } 56 57 public override IDeepCloneable Clone(Cloner cloner) { 58 return new DoubleCounter(this, cloner); 49 59 } 50 60
Note: See TracChangeset
for help on using the changeset viewer.