Changeset 4752 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers
- Timestamp:
- 11/09/10 09:55:31 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers/PotvinCrossover.cs
r4376 r4752 29 29 using HeuristicLab.Problems.VehicleRouting.Encodings.General; 30 30 using HeuristicLab.Problems.VehicleRouting.Interfaces; 31 using HeuristicLab.Common; 31 32 32 33 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { … … 43 44 public PotvinCrossover() { 44 45 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators.")); 46 } 47 48 protected PotvinCrossover(PotvinCrossover original, Cloner cloner) 49 : base(original, cloner) { 45 50 } 46 51 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers/PotvinRouteBasedCrossover.cs
r4376 r4752 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 26 using HeuristicLab.Data; 27 using HeuristicLab.Common; 27 28 28 29 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { … … 35 36 public PotvinRouteBasedCrossover() 36 37 : base() { } 38 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new PotvinRouteBasedCrossover(this, cloner); 41 } 42 43 private PotvinRouteBasedCrossover(PotvinRouteBasedCrossover original, Cloner cloner) 44 : base(original, cloner) { 45 } 37 46 38 47 protected override PotvinEncoding Crossover(IRandom random, PotvinEncoding parent1, PotvinEncoding parent2) { -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers/PotvinSequenceBasedCrossover.cs
r4376 r4752 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 26 using HeuristicLab.Data; 27 using HeuristicLab.Common; 27 28 28 29 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { … … 35 36 public PotvinSequenceBasedCrossover() 36 37 : base() { } 38 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new PotvinSequenceBasedCrossover(this, cloner); 41 } 42 43 private PotvinSequenceBasedCrossover(PotvinSequenceBasedCrossover original, Cloner cloner) 44 : base(original, cloner) { 45 } 37 46 38 47 protected override PotvinEncoding Crossover(IRandom random, PotvinEncoding parent1, PotvinEncoding parent2) {
Note: See TracChangeset
for help on using the changeset viewer.