Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Moves/ThreeOpt/AlbaTranslocationMoveGenerator.cs

    r4047 r4068  
    2020#endregion
    2121
    22 using System;
    2322using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
     23using HeuristicLab.Core;
     24using HeuristicLab.Data;
    2625using HeuristicLab.Encodings.PermutationEncoding;
    2726using HeuristicLab.Optimization;
    28 using HeuristicLab.Core;
     27using HeuristicLab.Parameters;
    2928using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    30 using HeuristicLab.Parameters;
    31 using HeuristicLab.Data;
    3229
    3330namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba {
     
    4138    protected override IPermutationMoveOperator PermutationMoveOperatorParameter {
    4239      get { return TranslocationMoveGeneratorParameter.Value; }
    43       set { 
     40      set {
    4441        TranslocationMoveGeneratorParameter.Value = value as TranslocationMoveGenerator;
    4542        if (TranslocationMoveGeneratorParameter.Value is IMultiMoveGenerator) {
     
    7168    }
    7269
    73     public AlbaTranslocationMoveGenerator(): base() {
    74       Parameters.Add(new ValueLookupParameter<TranslocationMoveGenerator>("TranslocationMoveGenerator", "The move generator.",
     70    public AlbaTranslocationMoveGenerator()
     71      : base() {
     72      Parameters.Add(new ValueLookupParameter<TranslocationMoveGenerator>("TranslocationMoveGenerator", "The move generator.",
    7573        new StochasticTranslocationMultiMoveGenerator()));
    7674      Parameters.Add(new ValueLookupParameter<IntValue>("SampleSize", "The number of moves to generate."));
     
    9391          if (move != null) {
    9492            bool criteria1 = true;
    95             if(move.Index1 - 1 >= 0 &&
    96               move.Index3 -1 >= 0)
     93            if (move.Index1 - 1 >= 0 &&
     94              move.Index3 - 1 >= 0)
    9795              criteria1 = (permutation[move.Index1] >= cities &&
    9896                permutation[move.Index1 - 1] >= cities &&
     
    107105                permutation[index3] >= cities);
    108106
    109             if(criteria1 && criteria2)
     107            if (criteria1 && criteria2)
    110108              toBeDeleted.Add(scope);
    111109          }
Note: See TracChangeset for help on using the changeset viewer.