Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/06/10 01:56:04 (14 years ago)
Author:
swagner
Message:

Merged cloning refactoring branch back into trunk (#922)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources

  • trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/RealVectorToRealVectorEncoder.cs

    r4068 r4722  
    2020#endregion
    2121
     22using HeuristicLab.Common;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Data;
     
    2526using HeuristicLab.Operators;
    2627using HeuristicLab.Parameters;
     28using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2729
    2830namespace HeuristicLab.Problems.TestFunctions {
     
    5557    }
    5658
     59    [StorableConstructor]
     60    protected RealVectorToRealVectorEncoder(bool deserializing) : base(deserializing) { }
     61    protected RealVectorToRealVectorEncoder(RealVectorToRealVectorEncoder original, Cloner cloner) : base(original, cloner) { }
    5762    public RealVectorToRealVectorEncoder()
    5863      : base() {
     
    6267      Parameters.Add(new ScopeParameter("CurrentScope", "The current scope bounds matrix should be cloned."));
    6368      Parameters.Add(new ValueLookupParameter<DoubleMatrix>("Bounds", "The lower and upper bounds in each dimension."));
     69    }
     70
     71    public override IDeepCloneable Clone(Cloner cloner) {
     72      return new RealVectorToRealVectorEncoder(this, cloner);
    6473    }
    6574
Note: See TracChangeset for help on using the changeset viewer.