Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 19:31:19 (14 years ago)
Author:
swagner
Message:

Finished cloning refactoring of HeuristicLab.Optimization.Operators (#922)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Optimization.Operators/3.3/ExponentialDiscreteDoubleValueModifier.cs

    r4068 r4679  
    2121
    2222using System;
     23using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3132  [StorableClass]
    3233  public class ExponentialDiscreteDoubleValueModifier : DiscreteDoubleValueModifier {
     34    [StorableConstructor]
     35    protected ExponentialDiscreteDoubleValueModifier(bool deserializing) : base(deserializing) { }
     36    protected ExponentialDiscreteDoubleValueModifier(ExponentialDiscreteDoubleValueModifier original, Cloner cloner) : base(original, cloner) { }
     37    public ExponentialDiscreteDoubleValueModifier() : base() { }
     38
     39    public override IDeepCloneable Clone(Cloner cloner) {
     40      return new ExponentialDiscreteDoubleValueModifier(this, cloner);
     41    }
     42
    3343    /// <summary>
    3444    /// Calculates a new value based on exponential decay or growth.
Note: See TracChangeset for help on using the changeset viewer.