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)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Moves/LambdaInterchange/AlbaLambdaInterchangeMove.cs

    r4341 r4346  
    2929
    3030namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba {
    31   [Item("InversionMove", "Item that describes a lambda move on a VRP representation.")]
     31  [Item("InversionMove", "Item that describes a lambda move on a VRP representation.  It is implemented as described in Alba, E. and Dorronsoro, B. (2004). Solving the Vehicle Routing Problem by Using Cellular Genetic Algorithms.")]
    3232  [StorableClass]
    33   public class LambdaInterchangeMove: Item, IVRPMove {
     33  public class AlbaLambdaInterchangeMove: Item, IVRPMove {
    3434    [Storable]
    3535    public IVRPEncoding Individual { get; protected set; }
     
    5353    public int Length2 { get; protected set; }
    5454   
    55     public LambdaInterchangeMove(): base() {
     55    public AlbaLambdaInterchangeMove(): base() {
    5656      Tour1 = -1;
    5757      Position1 = -1;
     
    6565    }
    6666
    67     public LambdaInterchangeMove(int tour1, int position1, int length1,
     67    public AlbaLambdaInterchangeMove(int tour1, int position1, int length1,
    6868      int tour2, int position2, int length2, AlbaEncoding permutation) {
    6969        Tour1 = tour1;
     
    7979
    8080    public override IDeepCloneable Clone(HeuristicLab.Common.Cloner cloner) {
    81       LambdaInterchangeMove clone = new LambdaInterchangeMove();
     81      AlbaLambdaInterchangeMove clone = new AlbaLambdaInterchangeMove();
    8282
    8383      clone.Tour1 = Tour1;
     
    105105      DoubleValue overloadPenalty, DoubleValue tardinessPenalty,
    106106      ILookupParameter<DoubleMatrix> distanceMatrix, Data.BoolValue useDistanceMatrix) {
    107         return LambdaInterchangeMoveEvaluator.GetMoveQuality(Individual as AlbaEncoding, this, vehicles,
     107        return AlbaLambdaInterchangeMoveEvaluator.GetMoveQuality(Individual as AlbaEncoding, this, vehicles,
    108108          dueTimeArray, serviceTimeArray, readyTimeArray, demandArray, capacity,
    109109          coordinates, fleetUsageFactor, timeFactor, distanceFactor,
     
    112112
    113113    public IVRPEncoding MakeMove() {
    114       LambdaInterchangeMoveMaker.Apply(Individual as AlbaEncoding, this);
     114      AlbaLambdaInterchangeMoveMaker.Apply(Individual as AlbaEncoding, this);
    115115
    116116      return Individual;
Note: See TracChangeset for help on using the changeset viewer.