Changeset 4346 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/Crossovers
- Timestamp:
- 08/31/10 14:03:12 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/Crossovers
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/Crossovers/MultiVRPSolutionCrossover.cs
r4341 r4346 32 32 33 33 namespace HeuristicLab.Problems.VehicleRouting.Encodings.General { 34 [Item("MultiVRP Crossover", "Randomly selects and applies one of its crossovers every time it is called.")]34 [Item("MultiVRPSolutionCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 35 35 [StorableClass] 36 public class MultiVRP Crossover : StochasticMultiBranch<IVRPCrossover>, IVRPCrossover, IStochasticOperator {36 public class MultiVRPSolutionCrossover : StochasticMultiBranch<IVRPCrossover>, IVRPCrossover, IStochasticOperator { 37 37 public override bool CanChangeName { 38 38 get { return false; } … … 82 82 83 83 [StorableConstructor] 84 private MultiVRP Crossover(bool deserializing) : base(deserializing) { }85 public MultiVRP Crossover()84 private MultiVRPSolutionCrossover(bool deserializing) : base(deserializing) { } 85 public MultiVRPSolutionCrossover() 86 86 : base() { 87 87 Parameters.Add(new ScopeTreeLookupParameter<IVRPEncoding>("Parents", "The parent permutations which should be crossed.")); -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/Crossovers/RandomParentCloneCrossover.cs
r4341 r4346 30 30 31 31 namespace HeuristicLab.Problems.VehicleRouting.Encodings.General.Crossovers { 32 [Item(" EmptyVRPCrossover", "An operator which randomly chooses one parent and returns a clone.")]32 [Item("RandomParentCloneCrossover", "An operator which randomly chooses one parent and returns a clone.")] 33 33 [StorableClass] 34 public sealed class EmptyVRPCrossover : VRPCrossover, IStochasticOperator {34 public sealed class RandomParentCloneCrossover : VRPCrossover, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { 36 36 get { return (LookupParameter<IRandom>)Parameters["Random"]; } … … 38 38 39 39 [StorableConstructor] 40 private EmptyVRPCrossover(bool deserializing) : base(deserializing) { }40 private RandomParentCloneCrossover(bool deserializing) : base(deserializing) { } 41 41 42 public EmptyVRPCrossover()42 public RandomParentCloneCrossover() 43 43 : base() { 44 44 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators."));
Note: See TracChangeset
for help on using the changeset viewer.