Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/12 13:17:29 (12 years ago)
Author:
ascheibe
Message:

#1722 fixed more licensing information and source formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveMaker.cs

    r7906 r8053  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2020#endregion
    2121
     22using System.Collections.Generic;
     23using HeuristicLab.Common;
    2224using HeuristicLab.Core;
    23 using HeuristicLab.Data;
    24 using HeuristicLab.Operators;
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    2727using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Common;
    29 using HeuristicLab.Problems.VehicleRouting.ProblemInstances;
    3028using HeuristicLab.Problems.VehicleRouting.Interfaces;
    31 using HeuristicLab.Problems.VehicleRouting.Variants;
    32 using System.Collections.Generic;
    3329
    3430namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin {
     
    4137
    4238    public override ILookupParameter VRPMoveParameter {
    43          get { return TwoOptStarMoveParameter; }
     39      get { return TwoOptStarMoveParameter; }
    4440    }
    4541
     
    6258    public static void GetSegments(PotvinTwoOptStarMove move, out List<int> segmentX1, out List<int> segmentX2) {
    6359      PotvinEncoding solution = move.Individual as PotvinEncoding;
    64      
     60
    6561      Tour route1 = solution.Tours[move.Tour1];
    6662      Tour route2 = solution.Tours[move.Tour2];
     
    9894      route2.Stops.AddRange(segmentX1);
    9995    }
    100        
     96
    10197    protected override void PerformMove() {
    10298      PotvinTwoOptStarMove move = TwoOptStarMoveParameter.ActualValue;
Note: See TracChangeset for help on using the changeset viewer.