Changeset 4672 for branches/CloningRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SimulatedBinaryCrossover.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/SimulatedBinaryCrossover.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 { … … 44 45 } 45 46 47 [StorableConstructor] 48 protected SimulatedBinaryCrossover(bool deserializing) : base(deserializing) { } 49 protected SimulatedBinaryCrossover(SimulatedBinaryCrossover original, Cloner cloner) : base(original, cloner) { } 46 50 /// <summary> 47 51 /// Initializes a new instance of <see cref="SimulatedBinaryCrossover"/> with one … … 51 55 : base() { 52 56 Parameters.Add(new ValueLookupParameter<DoubleValue>("Contiguity", "Specifies whether the crossover should produce very different (small value) or very similar (large value) children. Valid values must be greater or equal to 0.", new DoubleValue(2))); 57 } 58 59 public override IDeepCloneable Clone(Cloner cloner) { 60 return new SimulatedBinaryCrossover(this, cloner); 53 61 } 54 62
Note: See TracChangeset
for help on using the changeset viewer.