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.Problems.TestFunctions.MultiObjective/3.3/TestFunctions/ZDT/ZDT2.cs

    r16453 r16462  
    2222using HeuristicLab.Core;
    2323using HeuristicLab.Encodings.RealVectorEncoding;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525
    2626namespace HeuristicLab.Problems.TestFunctions.MultiObjective {
    2727  [Item("ZDT2", "ZDT2 function as defined in http://www.tik.ee.ethz.ch/sop/download/supplementary/testproblems/ [30.11.2015]")]
    28   [StorableClass]
     28  [StorableType("82C93549-F1D6-4034-96B1-A3AC1E213127")]
    2929  public class ZDT2 : ZDT {
    3030    protected override double GetBestKnownHypervolume(int objectives) {
     
    3333
    3434    [StorableConstructor]
    35     protected ZDT2(bool deserializing) : base(deserializing) { }
     35    protected ZDT2(StorableConstructorFlag _) : base(_) { }
    3636    protected ZDT2(ZDT2 original, Cloner cloner) : base(original, cloner) { }
    3737    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.