Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/04/10 16:11:59 (14 years ago)
Author:
svonolfe
Message:

Refactored VRP, added Potvin encoding (WIP) (#1039)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/VehicleRoutingProblem.cs

    r4138 r4150  
    378378        op.VRPSolutionParameter.ActualName = SolutionCreator.VRPSolutionParameter.ActualName;
    379379      }
     380      foreach (AlbaMoveOperator op in Operators.OfType<AlbaMoveOperator>()) {
     381        op.VehiclesParameter.ActualName = VehiclesParameter.Name;
     382      }
     383
    380384      foreach (IVRPMoveEvaluator op in Operators.OfType<IVRPMoveEvaluator>()) {
    381385        op.CoordinatesParameter.ActualName = CoordinatesParameter.Name;
     
    404408        op.ChildParameter.ActualName = SolutionCreator.VRPSolutionParameter.ActualName;
    405409      }
     410      foreach (AlbaCrossover op in Operators.OfType<AlbaCrossover>()) {
     411        op.VehiclesParameter.ActualName = VehiclesParameter.Name;
     412      }
     413
    406414      foreach (IVRPManipulator op in Operators.OfType<IVRPManipulator>()) {
    407415        op.VRPSolutionParameter.ActualName = SolutionCreator.VRPSolutionParameter.ActualName;
     416      }
     417      foreach (AlbaManipulator op in Operators.OfType<AlbaManipulator>()) {
     418        op.VehiclesParameter.ActualName = VehiclesParameter.Name;
    408419      }
    409420    }
Note: See TracChangeset for help on using the changeset viewer.