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/GVR/Manipulators/GVRManipulator.cs

    r17226 r17698  
    4747    }
    4848
    49     protected abstract void Manipulate(IRandom random, GVREncoding individual);
     49    protected abstract void Manipulate(IRandom random, GVREncodedSolution individual);
    5050
    5151    public override IOperation InstrumentedApply() {
    52       IVRPEncoding solution = VRPToursParameter.ActualValue;
    53       if (!(solution is GVREncoding)) {
    54         VRPToursParameter.ActualValue = GVREncoding.ConvertFrom(solution, ProblemInstance);
     52      IVRPEncodedSolution solution = VRPToursParameter.ActualValue;
     53      if (!(solution is GVREncodedSolution)) {
     54        VRPToursParameter.ActualValue = GVREncodedSolution.ConvertFrom(solution, ProblemInstance);
    5555      }
    5656
    57       Manipulate(RandomParameter.ActualValue, VRPToursParameter.ActualValue as GVREncoding);
     57      Manipulate(RandomParameter.ActualValue, VRPToursParameter.ActualValue as GVREncodedSolution);
    5858
    5959      return base.InstrumentedApply();
Note: See TracChangeset for help on using the changeset viewer.