Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/19 13:41:42 (5 years ago)
Author:
gkronber
Message:

#2520: merged changes from PersistenceOverhaul branch (r16451:16564) into trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/HeuristicLab.Problems.Binary/3.3/OneMaxProblem.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Encodings.BinaryVectorEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Attic;
    2828
    2929namespace HeuristicLab.Problems.Binary {
    3030  [Item("One Max Problem", "Represents a problem whose objective is to maximize the number of true values.")]
    3131  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 210)]
    32   [StorableClass]
     32  [StorableType("A290ADDE-33F5-4607-ABC0-19349CD0FBF1")]
    3333  public class OneMaxProblem : BinaryProblem {
    3434    public override bool Maximization {
     
    4343
    4444    [StorableConstructor]
    45     protected OneMaxProblem(bool deserializing) : base(deserializing) { }
     45    protected OneMaxProblem(StorableConstructorFlag _) : base(_) { }
    4646
    4747    protected OneMaxProblem(OneMaxProblem original, Cloner cloner) : base(original, cloner) { }
Note: See TracChangeset for help on using the changeset viewer.