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/Encodings/Alba/Manipulators/AlbaPermutationManipulator.cs

    r4068 r4150  
    2828  [Item("AlbaPermutationManipulator", "An operator which manipulates an alba VRP representation.")]
    2929  [StorableClass]
    30   public sealed class AlbaPermutationManipulator : VRPManipulator {
     30  public sealed class AlbaPermutationManipulator : AlbaManipulator {
    3131    public IValueLookupParameter<IPermutationManipulator> PermutationManipulatorParameter {
    3232      get { return (IValueLookupParameter<IPermutationManipulator>)Parameters["PermutationManipulator"]; }
     
    3939
    4040    public override IOperation Apply() {
    41       IVRPEncoding solution = VRPSolutionParameter.ActualValue;
    42       if (!(solution is AlbaEncoding)) {
    43         VRPSolutionParameter.ActualValue = AlbaEncoding.ConvertFrom(solution);
    44       }
    45 
    4641      OperationCollection next = new OperationCollection(base.Apply());
    4742      IPermutationManipulator op = PermutationManipulatorParameter.ActualValue;
Note: See TracChangeset for help on using the changeset viewer.