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)

Location:
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Creators
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Creators/IterativeInsertionCreator.cs

    r17226 r17698  
    8181    }
    8282
    83     public static PotvinEncoding CreateSolution(IVRPProblemInstance instance, IRandom random, bool adhereTimeWindows) {
    84       PotvinEncoding result = new PotvinEncoding(instance);
     83    public static PotvinEncodedSolution CreateSolution(IVRPProblemInstance instance, IRandom random, bool adhereTimeWindows) {
     84      PotvinEncodedSolution result = new PotvinEncodedSolution(instance);
    8585
    8686      IPickupAndDeliveryProblemInstance pdp = instance as IPickupAndDeliveryProblemInstance;
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Creators/PushForwardInsertionCreator.cs

    r17226 r17698  
    194194    }
    195195
    196     public static PotvinEncoding CreateSolution(IVRPProblemInstance problemInstance, IRandom random,
     196    public static PotvinEncodedSolution CreateSolution(IVRPProblemInstance problemInstance, IRandom random,
    197197      double alphaValue = 0.7, double betaValue = 0.1, double gammaValue = 0.2,
    198198      double alphaVariance = 0.5, double betaVariance = 0.07, double gammaVariance = 0.14) {
    199       PotvinEncoding result = new PotvinEncoding(problemInstance);
     199      PotvinEncodedSolution result = new PotvinEncodedSolution(problemInstance);
    200200
    201201      IPickupAndDeliveryProblemInstance pdp = problemInstance as IPickupAndDeliveryProblemInstance;
Note: See TracChangeset for help on using the changeset viewer.