Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3535  /// </remarks>
    3636  [Item("SinglePointCrossover", "Breaks both parent chromosomes at a randomly chosen point and assembles a child by taking one part of the first parent and the other part of the second pard. It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")]
    37   [StorableClass]
     37  [StorableType("92055f8b-3b1e-4e61-bcdf-212964dbd3fd")]
    3838  public class SinglePointCrossover : RealVectorCrossover {
    3939    [StorableConstructor]
     
    4545      return new SinglePointCrossover(this, cloner);
    4646    }
    47    
     47
    4848    /// <summary>
    4949    /// Performs the single point crossover for real vectors. The implementation is similar to the single point crossover for binary vectors.
Note: See TracChangeset for help on using the changeset viewer.