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/LocalCrossover.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3333  /// </remarks>
    3434  [Item("LocalCrossover", @"The local crossover is similar to the arithmetic all positions crossover, but uses a random alpha for each position x = alpha * p1 + (1-alpha) * p2. It is implemented as described in Dumitrescu, D. et al. (2000), Evolutionary computation, CRC Press, Boca Raton, FL., p. 194.")]
    35   [StorableClass]
     35  [StorableType("263eb3c9-5288-47d4-814f-ca9de5356887")]
    3636  public class LocalCrossover : RealVectorCrossover {
    3737    [StorableConstructor]
     
    4343      return new LocalCrossover(this, cloner);
    4444    }
    45    
     45
    4646    /// <summary>
    4747    /// Performs a local crossover on the two given parent vectors.
Note: See TracChangeset for help on using the changeset viewer.