Changeset 4722 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/CosaCrossover.cs
- Timestamp:
- 11/06/10 01:56:04 (13 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.Encodings.PermutationEncoding/3.3/Crossovers/CosaCrossover.cs
r4477 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 37 38 [StorableClass] 38 39 public class CosaCrossover : PermutationCrossover { 40 [StorableConstructor] 41 protected CosaCrossover(bool deserializing) : base(deserializing) { } 42 protected CosaCrossover(CosaCrossover original, Cloner cloner) : base(original, cloner) { } 43 public CosaCrossover() : base() { } 44 45 public override IDeepCloneable Clone(Cloner cloner) { 46 return new CosaCrossover(this, cloner); 47 } 48 39 49 /// <summary> 40 50 /// The operator actually performs a 2-opt mutation on the first parent, but it uses the second parent to determine which new edge should be inserted.
Note: See TracChangeset
for help on using the changeset viewer.