- Timestamp:
- 11/06/10 01:56:04 (13 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.Random/3.3/NormalRandomizer.cs
r4477 r4722 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Data; … … 33 34 [Item("NormalRandomizer", "Initializes the value of variable 'Value' to a random value normally distributed with parameters 'Mu' and 'Sigma'")] 34 35 public class NormalRandomizer : SingleSuccessorOperator { 35 #region parameter properties36 #region Parameter Properties 36 37 public ILookupParameter<IRandom> RandomParameter { 37 38 get { return (ILookupParameter<IRandom>)Parameters["Random"]; } … … 47 48 } 48 49 #endregion 50 49 51 #region Properties 50 52 public DoubleValue Mu { … … 57 59 } 58 60 #endregion 61 62 [StorableConstructor] 63 protected NormalRandomizer(bool deserializing) : base(deserializing) { } 64 protected NormalRandomizer(NormalRandomizer original, Cloner cloner) : base(original, cloner) { } 59 65 /// <summary> 60 66 /// Initializes a new instance of <see cref="NormalRandomizer"/> with four variable infos … … 67 73 Parameters.Add(new LookupParameter<DoubleValue>("Value", "The value that should be set to a random value.")); 68 74 } 69 [StorableConstructor] 70 protected NormalRandomizer(bool deserializing) : base(deserializing) { } 75 76 public override IDeepCloneable Clone(Cloner cloner) { 77 return new NormalRandomizer(this, cloner); 78 } 71 79 72 80 /// <summary>
Note: See TracChangeset
for help on using the changeset viewer.