- 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.Operators/3.3/StochasticBranch.cs
r4477 r4722 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Data; … … 53 54 } 54 55 56 [StorableConstructor] 57 protected StochasticBranch(bool deserializing) : base(deserializing) { } 58 protected StochasticBranch(StochasticBranch original, Cloner cloner) 59 : base(original, cloner) { 60 } 55 61 public StochasticBranch() 56 62 : base() { … … 59 65 Parameters.Add(new OperatorParameter("FirstBranch", "The operator which is executed with the given probability.")); 60 66 Parameters.Add(new OperatorParameter("SecondBranch", "The operator which is executed if the first branch is not executed.")); 67 } 68 69 public override IDeepCloneable Clone(Cloner cloner) { 70 return new StochasticBranch(this, cloner); 61 71 } 62 72
Note: See TracChangeset
for help on using the changeset viewer.