Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/24/20 00:58:42 (4 years ago)
Author:
abeham
Message:

#2521: working on VRP (WIP)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationMoveMaker.cs

    r17226 r17698  
    6868    }
    6969
    70     public static void Apply(PotvinEncoding solution, PotvinCustomerRelocationMove move, IVRPProblemInstance problemInstance) {
     70    public static void Apply(PotvinEncodedSolution solution, PotvinCustomerRelocationMove move, IVRPProblemInstance problemInstance) {
    7171      if (move.Tour >= solution.Tours.Count)
    7272        solution.Tours.Add(new Tour());
     
    8787      PotvinCustomerRelocationMove move = CustomerRelocationMoveParameter.ActualValue;
    8888
    89       PotvinEncoding newSolution = move.Individual.Clone() as PotvinEncoding;
     89      PotvinEncodedSolution newSolution = move.Individual.Clone() as PotvinEncodedSolution;
    9090      Apply(newSolution, move, ProblemInstance);
    9191      newSolution.Repair();
Note: See TracChangeset for help on using the changeset viewer.