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.Selection/3.3/EvolutionStrategyOffspringSelector.cs

    r16453 r16462  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Runtime.InteropServices;
    2524using HeuristicLab.Common;
    2625using HeuristicLab.Core;
     
    2827using HeuristicLab.Operators;
    2928using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3130
    3231namespace HeuristicLab.Selection {
    3332  [Item("EvolutionStrategyOffspringSelector", "Selects among the offspring population those that are designated successful and discards the unsuccessful offspring, except for some lucky losers. It expects the parent scopes to be below the first sub-scope, and offspring scopes to be below the second sub-scope separated again in two sub-scopes, the first with the failed offspring and the second with successful offspring.")]
    34   [StorableClass]
     33  [StorableType("CE585C3C-5139-44F0-9CB2-CC901A290831")]
    3534  public class EvolutionStrategyOffspringSelector : SingleSuccessorOperator {
    3635
     
    113112
    114113    [StorableConstructor]
    115     protected EvolutionStrategyOffspringSelector(bool deserializing) : base(deserializing) { }
     114    protected EvolutionStrategyOffspringSelector(StorableConstructorFlag _) : base(_) { }
    116115    protected EvolutionStrategyOffspringSelector(EvolutionStrategyOffspringSelector original, Cloner cloner) : base(original, cloner) { }
    117116    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.