- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Manipulators/UniformOnePositionManipulator.cs
r4068 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Data; … … 49 50 } 50 51 52 [StorableConstructor] 53 protected UniformOnePositionManipulator(bool deserializing) : base(deserializing) { } 54 protected UniformOnePositionManipulator(UniformOnePositionManipulator original, Cloner cloner) : base(original, cloner) { } 51 55 /// <summary> 52 56 /// Initializes a new instance of <see cref="UniformOnePositionManipulator"/> with two parameters 53 57 /// (<c>Minimum</c> and <c>Maximum</c>). 54 58 /// </summary> 55 public UniformOnePositionManipulator() { 59 public UniformOnePositionManipulator() 60 : base() { 56 61 Parameters.Add(new ValueLookupParameter<IntValue>("Minimum", "Minimum of the sampling range for the vector element (included)")); 57 62 Parameters.Add(new ValueLookupParameter<IntValue>("Maximum", "Maximum of the sampling range for the vector element (excluded)")); 63 } 64 65 public override IDeepCloneable Clone(Cloner cloner) { 66 return new UniformOnePositionManipulator(this, cloner); 58 67 } 59 68
Note: See TracChangeset
for help on using the changeset viewer.