Changeset 4672 for branches/CloningRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaBetaCrossover.cs
- Timestamp:
- 10/29/10 18:28:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaBetaCrossover.cs
r4068 r4672 25 25 using HeuristicLab.Parameters; 26 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.Common; 27 28 28 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 65 66 } 66 67 68 [StorableConstructor] 69 protected BlendAlphaBetaCrossover(bool deserializing) : base(deserializing) { } 70 protected BlendAlphaBetaCrossover(BlendAlphaBetaCrossover original, Cloner cloner) : base(original, cloner) { } 67 71 /// <summary> 68 72 /// Initializes a new instance of <see cref="BlendAlphaBetaCrossover"/> with four additional parameters … … 75 79 Parameters.Add(new ValueLookupParameter<DoubleValue>("Alpha", "The Alpha parameter controls the extension of the range beyond the better parent. The value must be >= 0 and does not depend on Beta.", new DoubleValue(0.75))); 76 80 Parameters.Add(new ValueLookupParameter<DoubleValue>("Beta", "The Beta parameter controls the extension of the range beyond the worse parent. The value must be >= 0 and does not depend on Alpha.", new DoubleValue(0.25))); 81 } 82 83 public override IDeepCloneable Clone(Cloner cloner) { 84 return new BlendAlphaBetaCrossover(this, cloner); 77 85 } 78 86
Note: See TracChangeset
for help on using the changeset viewer.