- Timestamp:
- 10/29/10 17:43:17 (14 years ago)
- Location:
- branches/CloningRefactoring/HeuristicLab.Algorithms.EvolutionStrategy/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Algorithms.EvolutionStrategy/3.3/EvolutionStrategyMainLoop.cs
r4068 r4669 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Data; … … 94 95 95 96 [StorableConstructor] 96 private EvolutionStrategyMainLoop(bool deserializing) : base() { } 97 private EvolutionStrategyMainLoop(bool deserializing) : base(deserializing) { } 98 private EvolutionStrategyMainLoop(EvolutionStrategyMainLoop original, Cloner cloner) 99 : base(original, cloner) { 100 } 101 public override IDeepCloneable Clone(Cloner cloner) { 102 return new EvolutionStrategyMainLoop(this, cloner); 103 } 97 104 public EvolutionStrategyMainLoop() 98 105 : base() { -
branches/CloningRefactoring/HeuristicLab.Algorithms.EvolutionStrategy/3.3/WithoutRepeatingBatchedRandomSelector.cs
r4068 r4669 22 22 using System; 23 23 using System.Collections.Generic; 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Data; … … 40 41 public IValueLookupParameter<IntValue> ParentsPerChildParameter { 41 42 get { return (IValueLookupParameter<IntValue>)Parameters["ParentsPerChild"]; } 43 } 44 45 [StorableConstructor] 46 protected WithoutRepeatingBatchedRandomSelector(bool deserializing) : base(deserializing) { } 47 protected WithoutRepeatingBatchedRandomSelector(WithoutRepeatingBatchedRandomSelector original, Cloner cloner) 48 : base(original, cloner) { 49 } 50 public override IDeepCloneable Clone(Cloner cloner) { 51 return new WithoutRepeatingBatchedRandomSelector(this, cloner); 42 52 } 43 53
Note: See TracChangeset
for help on using the changeset viewer.