Changeset 4672 for branches/CloningRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs
- Timestamp:
- 10/29/10 18:28:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs
r4545 r4672 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 29 using HeuristicLab.Random; 30 using HeuristicLab.Common; 30 31 31 32 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 54 55 get { return (IValueLookupParameter<DoubleMatrix>)Parameters["Bounds"]; } 55 56 } 57 58 [StorableConstructor] 59 protected StdDevStrategyVectorManipulator(bool deserializing) : base(deserializing) { } 60 protected StdDevStrategyVectorManipulator(StdDevStrategyVectorManipulator original, Cloner cloner) : base(original, cloner) { } 56 61 /// <summary> 57 62 /// Initializes a new instance of <see cref="StrategyVectorManipulator"/> with four … … 66 71 Parameters.Add(new ValueLookupParameter<DoubleValue>("LearningRate", "The learning rate (tau).")); 67 72 Parameters.Add(new ValueLookupParameter<DoubleMatrix>("Bounds", "A 2 column matrix specifying the lower and upper bound for each dimension. If there are less rows than dimension the bounds vector is cycled.", new DoubleMatrix(new double[,] { { 0, 5 } }))); 73 } 74 75 public override IDeepCloneable Clone(Cloner cloner) { 76 return new StdDevStrategyVectorManipulator(this, cloner); 68 77 } 69 78
Note: See TracChangeset
for help on using the changeset viewer.