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.Encodings.BinaryVectorEncoding/3.3/Crossovers/NPointCrossover.cs

    r3376 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    26 using HeuristicLab.Common;
    2724using HeuristicLab.Core;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2925using HeuristicLab.Data;
    3026using HeuristicLab.Parameters;
     27using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3128
    3229namespace HeuristicLab.Encodings.BinaryVectorEncoding {
     
    3936  [Item("NPointCrossover", "N point crossover for binary vectors. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, Springer-Verlag Berlin Heidelberg.")]
    4037  [StorableClass]
    41   public class NPointCrossover: BinaryVectorCrossover {
     38  public class NPointCrossover : BinaryVectorCrossover {
    4239    /// <summary>
    4340    /// Number of crossover points.
     
    8077      //choose break points
    8178      List<int> breakpointPool = new List<int>();
    82            
     79
    8380      for (int i = 0; i < length; i++)
    8481        breakpointPool.Add(i);
     
    9895
    9996      while (arrayIndex < length) {
    100         if (breakPointIndex < breakpoints.Length && 
     97        if (breakPointIndex < breakpoints.Length &&
    10198          arrayIndex == breakpoints[breakPointIndex]) {
    10299          breakPointIndex++;
Note: See TracChangeset for help on using the changeset viewer.