Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/31/10 14:03:12 (14 years ago)
Author:
svonolfe
Message:

Renamed operators, added comments according to code review (#1039)

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  
    3232
    3333namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    34   [Item("MultiVRPCrossover", "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.")]
    3535  [StorableClass]
    36   public class MultiVRPCrossover : StochasticMultiBranch<IVRPCrossover>, IVRPCrossover, IStochasticOperator {
     36  public class MultiVRPSolutionCrossover : StochasticMultiBranch<IVRPCrossover>, IVRPCrossover, IStochasticOperator {
    3737    public override bool CanChangeName {
    3838      get { return false; }
     
    8282
    8383    [StorableConstructor]
    84     private MultiVRPCrossover(bool deserializing) : base(deserializing) { }
    85     public MultiVRPCrossover()
     84    private MultiVRPSolutionCrossover(bool deserializing) : base(deserializing) { }
     85    public MultiVRPSolutionCrossover()
    8686      : base() {
    8787       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  
    3030
    3131namespace 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.")]
    3333  [StorableClass]
    34   public sealed class EmptyVRPCrossover : VRPCrossover, IStochasticOperator {
     34  public sealed class RandomParentCloneCrossover : VRPCrossover, IStochasticOperator {
    3535    public ILookupParameter<IRandom> RandomParameter {
    3636      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
     
    3838
    3939    [StorableConstructor]
    40     private EmptyVRPCrossover(bool deserializing) : base(deserializing) { }
     40    private RandomParentCloneCrossover(bool deserializing) : base(deserializing) { }
    4141
    42     public EmptyVRPCrossover()
     42    public RandomParentCloneCrossover()
    4343      : base() {
    4444      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.