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.Optimization.Operators/3.3/NoSimilarityCalculator.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.
     
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
     
    3132  /// </remarks>
    3233  [Item("NoSimilarityCalculator", "An item that performs similarity calculation between two solutions. The item always considers two solutions to be distinct.")]
     34  [StorableType("dd0dc63b-f691-4132-963e-eab3e1bc366a")]
    3335  public sealed class NoSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator {
    3436    protected override bool IsCommutative { get { return true; } }
    3537
    36     private NoSimilarityCalculator(bool deserializing) : base(deserializing) { }
     38    [StorableConstructor]
     39    private NoSimilarityCalculator(StorableConstructorFlag _) : base(_) { }
    3740    private NoSimilarityCalculator(NoSimilarityCalculator original, Cloner cloner) : base(original, cloner) { }
    3841    public NoSimilarityCalculator() : base() { }
Note: See TracChangeset for help on using the changeset viewer.