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.CMAEvolutionStrategy/3.4/CMAOperators/CMAMutator.cs

    r16453 r16462  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131using HeuristicLab.Random;
    3232
    3333namespace HeuristicLab.Algorithms.CMAEvolutionStrategy {
    3434  [Item("CMAMutator", "Mutates the solution vector according to the CMA-ES scheme.")]
    35   [StorableClass]
     35  [StorableType("13539C1A-1D94-4CD7-8514-2173C661333D")]
    3636  public sealed class CMAMutator : SingleSuccessorOperator, IStochasticOperator, ICMAManipulator, IIterationBasedOperator {
    3737
     
    8383
    8484    [StorableConstructor]
    85     private CMAMutator(bool deserializing) : base(deserializing) { }
     85    private CMAMutator(StorableConstructorFlag _) : base(_) { }
    8686    private CMAMutator(CMAMutator original, Cloner cloner) : base(original, cloner) { }
    8787    public CMAMutator()
Note: See TracChangeset for help on using the changeset viewer.