Ignore:
Timestamp:
12/28/18 16:10:48 (17 months 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.ParticleSwarmOptimization/3.3/RingTopologyInitializer.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525using HeuristicLab.Data;
    2626
    2727namespace HeuristicLab.Algorithms.ParticleSwarmOptimization {
    2828  [Item("Ring Topology Initializer", "Each particle is informed by its preceeding and its succeeding particle wrapping around at the beginning and the end of the swarm (in addition each particle also informs itself).")]
    29   [StorableClass]
     29  [StorableType("B09A84CE-E1CC-4F38-BC84-1E541A792EBB")]
    3030  public sealed class RingTopologyInitializer : TopologyInitializer {
    3131    #region Construction & Cloning
    3232
    3333    [StorableConstructor]
    34     private RingTopologyInitializer(bool deserializing) : base(deserializing) { }
     34    private RingTopologyInitializer(StorableConstructorFlag _) : base(_) { }
    3535    private RingTopologyInitializer(RingTopologyInitializer original, Cloner cloner) : base(original, cloner) { }
    3636    public RingTopologyInitializer() : base() { }
Note: See TracChangeset for help on using the changeset viewer.