- Timestamp:
- 10/29/10 15:59:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Operators/3.3/AlgorithmOperator.cs
r3376 r4662 44 44 } 45 45 46 [StorableConstructor] 47 protected AlgorithmOperator(bool deserializing) : base(deserializing) { } 48 protected AlgorithmOperator(AlgorithmOperator original, Cloner cloner) 49 : base(original, cloner) { 50 this.operatorGraph = cloner.Clone<OperatorGraph>(original.operatorGraph); 51 } 46 52 protected AlgorithmOperator() 47 53 : base() { 48 54 operatorGraph = new OperatorGraph(); 49 }50 51 public override IDeepCloneable Clone(Cloner cloner) {52 AlgorithmOperator clone = (AlgorithmOperator)base.Clone(cloner);53 clone.operatorGraph = (OperatorGraph)cloner.Clone(operatorGraph);54 return clone;55 55 } 56 56
Note: See TracChangeset
for help on using the changeset viewer.