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.Algorithms.ALPS/3.3/MatingPoolCreator.cs

    r16453 r16462  
    2525using HeuristicLab.Operators;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Algorithms.ALPS {
    3030  [Item("MatingPoolCreator", "An operator which creates mating pools based on a set of sub-populations. For each sub-population, the individuals from the previous sub-population are copied into the current sub-population.")]
    31   [StorableClass]
     31  [StorableType("F8B8EAF4-84FC-4E38-B3CB-82EEDBAFE083")]
    3232  public sealed class MatingPoolCreator : SingleSuccessorOperator {
    3333    public IValueLookupParameter<IntValue> MatingPoolRangeParameter {
     
    3636
    3737    [StorableConstructor]
    38     private MatingPoolCreator(bool deserializing)
    39       : base(deserializing) { }
     38    private MatingPoolCreator(StorableConstructorFlag _) : base(_) { }
    4039    private MatingPoolCreator(MatingPoolCreator original, Cloner cloner)
    4140      : base(original, cloner) { }
Note: See TracChangeset for help on using the changeset viewer.