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/RandomReplacer.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("RandomReplacer", "Replaces some randomly selected sub-scopes of the remaining scope with all those (or the best if there are more) from the selected scope.")]
    31   [StorableClass]
     31  [StorableType("526A1887-C636-4702-8041-36EE0C2F1DA0")]
    3232  public sealed class RandomReplacer : Replacer, IStochasticOperator, ISingleObjectiveReplacer {
    3333    public override bool CanChangeName {
     
    4949
    5050    [StorableConstructor]
    51     private RandomReplacer(bool deserializing) : base(deserializing) { }
     51    private RandomReplacer(StorableConstructorFlag _) : base(_) { }
    5252    private RandomReplacer(RandomReplacer original, Cloner cloner)
    5353      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.