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

    r17226 r17698  
    4444    }
    4545
    46     public static bool PairwiseMove(PotvinEncoding individual, IVRPProblemInstance instance, int city, bool allowInfeasible) {
     46    public static bool PairwiseMove(PotvinEncodedSolution individual, IVRPProblemInstance instance, int city, bool allowInfeasible) {
    4747      bool success;
    4848
     
    128128    }
    129129
    130     public static void ApplyManipulation(IRandom random, PotvinEncoding individual, IPickupAndDeliveryProblemInstance pdp, bool allowInfeasible) {
     130    public static void ApplyManipulation(IRandom random, PotvinEncodedSolution individual, IPickupAndDeliveryProblemInstance pdp, bool allowInfeasible) {
    131131      int selectedIndex = SelectRandomTourBiasedByLength(random, individual, pdp);
    132132      if (selectedIndex >= 0) {
     
    149149
    150150
    151     protected override void Manipulate(IRandom random, PotvinEncoding individual) {
     151    protected override void Manipulate(IRandom random, PotvinEncodedSolution individual) {
    152152      bool allowInfeasible = AllowInfeasibleSolutions.Value.Value;
    153153
Note: See TracChangeset for help on using the changeset viewer.