- Timestamp:
- 11/09/10 09:55:31 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators/AlbaCreator.cs
r4369 r4752 27 27 using HeuristicLab.Problems.VehicleRouting.Interfaces; 28 28 using HeuristicLab.Problems.VehicleRouting.Encodings.General; 29 using HeuristicLab.Common; 29 30 30 31 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba { … … 42 43 : base() { 43 44 } 45 46 protected AlbaCreator(AlbaCreator original, Cloner cloner) 47 : base(original, cloner) { 48 } 44 49 } 45 50 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators/DefaultRepresentationCreator.cs
r4365 r4752 28 28 using HeuristicLab.Problems.VehicleRouting.Encodings; 29 29 using HeuristicLab.Problems.VehicleRouting.Variants; 30 using HeuristicLab.Common; 30 31 31 32 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba { … … 40 41 public DefaultRepresentationCreator() : base() { } 41 42 43 protected DefaultRepresentationCreator(DefaultRepresentationCreator original, Cloner cloner) 44 : base(original, cloner) { 45 } 46 42 47 public override IOperation Apply() { 43 48 //choose default encoding here … … 45 50 46 51 return base.Apply(); 47 } 52 } 48 53 } 49 54 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators/PushForwardInsertionCreator.cs
r4365 r4752 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 30 using HeuristicLab.Problems.VehicleRouting.Variants; 31 using HeuristicLab.Common; 31 32 32 33 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba { … … 71 72 Parameters.Add(new ValueParameter<DoubleValue>("Gamma", "The gamma value.", new DoubleValue(0.2))); 72 73 Parameters.Add(new ValueParameter<DoubleValue>("GammaVariance", "The gamma variance.", new DoubleValue(0.14))); 74 } 75 76 public override IDeepCloneable Clone(Cloner cloner) { 77 return new PushForwardCreator(this, cloner); 78 } 79 80 private PushForwardCreator(PushForwardCreator original, Cloner cloner) 81 : base(original, cloner) { 73 82 } 74 83 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators/RandomCreator.cs
r4362 r4752 28 28 using HeuristicLab.Parameters; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HeuristicLab.Common; 30 31 31 32 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba { … … 45 46 : base() { 46 47 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator.")); 48 } 49 50 public override IDeepCloneable Clone(Cloner cloner) { 51 return new RandomCreator(this, cloner); 52 } 53 54 private RandomCreator(RandomCreator original, Cloner cloner) 55 : base(original, cloner) { 47 56 } 48 57
Note: See TracChangeset
for help on using the changeset viewer.