- Timestamp:
- 11/06/10 01:56:04 (14 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.Optimization.Operators/3.3/ChildrenCreator.cs
r4068 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Data; … … 53 54 } 54 55 56 [StorableConstructor] 57 private ChildrenCreator(bool deserializing) : base(deserializing) { } 58 private ChildrenCreator(ChildrenCreator original, Cloner cloner) : base(original, cloner) { } 55 59 public ChildrenCreator() 56 60 : base() { 57 61 Parameters.Add(new ScopeParameter("CurrentScope", "The current scope whose sub-scopes represent the parents.")); 58 62 Parameters.Add(new ValueLookupParameter<IntValue>("ParentsPerChild", "The number of parents that should be crossed per child. Note that some of the typical crossover operators require exactly two parents.", new IntValue(2))); 63 } 64 65 public override IDeepCloneable Clone(Cloner cloner) { 66 return new ChildrenCreator(this, cloner); 59 67 } 60 68
Note: See TracChangeset
for help on using the changeset viewer.