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

    r4752 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
    22 using HeuristicLab.Core;
    23 using HeuristicLab.Encodings.PermutationEncoding;
    24 using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    26 using HeuristicLab.Data;
    2722using System;
    2823using System.Collections.Generic;
    2924using HeuristicLab.Common;
     25using HeuristicLab.Core;
     26using HeuristicLab.Data;
     27using HeuristicLab.Parameters;
     28using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3029
    3130namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba {
     
    3635      get { return (IValueParameter<IntValue>)Parameters["Lambda"]; }
    3736    }
    38    
     37
    3938    [StorableConstructor]
    4039    private AlbaLambdaInterchangeManipulator(bool deserializing) : base(deserializing) { }
     
    4241    public AlbaLambdaInterchangeManipulator()
    4342      : base() {
    44         Parameters.Add(new ValueParameter<IntValue>("Lambda", "The lambda value.", new IntValue(1)));
    45      }
     43      Parameters.Add(new ValueParameter<IntValue>("Lambda", "The lambda value.", new IntValue(1)));
     44    }
    4645
    4746    public override IDeepCloneable Clone(Cloner cloner) {
     
    5352    }
    5453
    55     public static void Apply(AlbaEncoding individual, int tour1Index, int position1, int length1, 
     54    public static void Apply(AlbaEncoding individual, int tour1Index, int position1, int length1,
    5655      int tour2Index, int position2, int length2) {
    5756      List<Tour> tours = individual.GetTours();
Note: See TracChangeset for help on using the changeset viewer.