- Timestamp:
- 10/29/10 15:59:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Operators/3.3/StochasticBranch.cs
r4477 r4662 24 24 using HeuristicLab.Parameters; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Common; 26 27 27 28 namespace HeuristicLab.Operators { … … 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.