Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/AverageCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3333  /// </remarks>
    3434  [Item("AverageCrossover", "The average crossover (intermediate recombination) produces a new offspring by calculating in each position the average of a number of parents. It is implemented as described by Beyer, H.-G. and Schwefel, H.-P. 2002. Evolution Strategies - A Comprehensive Introduction Natural Computing, 1, pp. 3-52.")]
    35   [StorableClass]
     35  [StorableType("D182B4D8-DFB1-467C-B6C8-8A8BC7540304")]
    3636  public class AverageCrossover : RealVectorCrossover {
    3737    [StorableConstructor]
    38     protected AverageCrossover(bool deserializing) : base(deserializing) { }
     38    protected AverageCrossover(StorableConstructorFlag _) : base(_) { }
    3939    protected AverageCrossover(AverageCrossover original, Cloner cloner) : base(original, cloner) { }
    4040    public AverageCrossover() : base() { }
Note: See TracChangeset for help on using the changeset viewer.