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/ParticleOperators/SPSOParticleCreator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    3131  [Item("Particle Creator (SPSO)", "Creates a particle with position, velocity vector and personal best.")]
    32   [StorableClass]
     32  [StorableType("A2BB1DB9-7E4A-4DEA-B469-612F26645E0B")]
    3333  public class SPSOParticleCreator : AlgorithmOperator, IRealVectorParticleCreator, IStochasticOperator {
    3434
     
    5959    #region Construction & Cloning
    6060    [StorableConstructor]
    61     protected SPSOParticleCreator(bool deserializing) : base(deserializing) { }
     61    protected SPSOParticleCreator(StorableConstructorFlag _) : base(_) { }
    6262    protected SPSOParticleCreator(SPSOParticleCreator original, Cloner cloner) : base(original, cloner) { }
    6363    public SPSOParticleCreator()
Note: See TracChangeset for help on using the changeset viewer.