Changeset 4667 for branches/CloningRefactoring/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/PartiallyMatchedCrossover.cs
- Timestamp:
- 10/29/10 17:37:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/PartiallyMatchedCrossover.cs
r4545 r4667 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Encodings.PermutationEncoding { … … 36 37 [StorableClass] 37 38 public class PartiallyMatchedCrossover : PermutationCrossover { 39 [StorableConstructor] 40 protected PartiallyMatchedCrossover(bool deserializing) : base(deserializing) { } 41 protected PartiallyMatchedCrossover(PartiallyMatchedCrossover original, Cloner cloner) : base(original, cloner) { } 42 public PartiallyMatchedCrossover() : base() { } 43 44 public override IDeepCloneable Clone(Cloner cloner) { 45 return new PartiallyMatchedCrossover(this, cloner); 46 } 47 38 48 /// <summary> 39 49 /// Performs the partially matched crossover on <paramref name="parent1"/> and <paramref name="parent2"/>.
Note: See TracChangeset
for help on using the changeset viewer.