Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 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/WorstReplacer.cs

    r16453 r16462  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Selection {
    3030  [Item("WorstReplacer", "Replaces the worst sub-scopes of the remaining scope with all those (or the best if there are more) from the selected scope.")]
    31   [StorableClass]
     31  [StorableType("9B56E562-0E21-4FED-AB2F-553D49AEC47D")]
    3232  public sealed class WorstReplacer : Replacer, ISingleObjectiveReplacer {
    3333    public override bool CanChangeName {
     
    4646
    4747    [StorableConstructor]
    48     private WorstReplacer(bool deserializing) : base(deserializing) { }
     48    private WorstReplacer(StorableConstructorFlag _) : base(_) { }
    4949    private WorstReplacer(WorstReplacer original, Cloner cloner) : base(original, cloner) { }
    5050    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.