Free cookie consent management tool by TermsFeed Policy Generator

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

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

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/HeuristicLab.Optimization.Operators/3.3/MultiObjective/CrowdedComparisonSorter.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.
     
    2828using HeuristicLab.Operators;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Attic;
    3131
    3232namespace HeuristicLab.Optimization.Operators {
     
    3737  [Item("CrowdedComparisonSorter", @"CrowdedComparisonSorter as described in: Deb, Pratap, Agrawal and Meyarivan, ""A Fast and Elitist Multiobjective
    3838Genetic Algorithm: NSGA-II"", IEEE Transactions On Evolutionary Computation, Vol. 6, No. 2, April 2002.")]
    39   [StorableClass]
     39  [StorableType("48F09742-454D-4BAB-A057-96BDF4ACDCE9")]
    4040  public class CrowdedComparisonSorter : SingleSuccessorOperator {
    4141
     
    4949
    5050    [StorableConstructor]
    51     protected CrowdedComparisonSorter(bool deserializing) : base(deserializing) { }
     51    protected CrowdedComparisonSorter(StorableConstructorFlag _) : base(_) { }
    5252    protected CrowdedComparisonSorter(CrowdedComparisonSorter original, Cloner cloner) : base(original, cloner) { }
    5353    public CrowdedComparisonSorter() {
     
    6969    }
    7070
     71    [StorableType("c16dd393-bd08-4a81-abb5-1b7e918a1038")]
    7172    private class CustomComparer : IComparer<int> {
    7273      ItemArray<IntValue> ranks;
  • trunk/HeuristicLab.Optimization.Operators/3.3/MultiObjective/CrowdingDistanceAssignment.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.
     
    2828using HeuristicLab.Operators;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Attic;
    3131
    3232namespace HeuristicLab.Optimization.Operators {
    3333  [Item("CrowdingDistanceAssignment", "Calculates the crowding distances for each sub-scope as described in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.")]
    34   [StorableClass]
     34  [StorableType("F7DF8B74-F1E6-45D6-A1A8-5D381F20B382")]
    3535  public class CrowdingDistanceAssignment : SingleSuccessorOperator, IMultiObjectiveOperator {
    3636
     
    4848
    4949    [StorableConstructor]
    50     protected CrowdingDistanceAssignment(bool deserializing) : base(deserializing) { }
     50    protected CrowdingDistanceAssignment(StorableConstructorFlag _) : base(_) { }
    5151    protected CrowdingDistanceAssignment(CrowdingDistanceAssignment original, Cloner cloner) : base(original, cloner) { }
    5252    public CrowdingDistanceAssignment() {
     
    103103    }
    104104
     105    [StorableType("30fd1927-b268-4ce7-8960-b04bfa83f1e6")]
    105106    private class QualitiesComparer : IComparer<DoubleArray> {
    106107      private int index;
  • trunk/HeuristicLab.Optimization.Operators/3.3/MultiObjective/FastNonDominatedSort.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.
     
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Linq;
    2524using HeuristicLab.Common;
     
    2827using HeuristicLab.Operators;
    2928using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Attic;
    3130
    3231namespace HeuristicLab.Optimization.Operators {
     
    3736  [Item("FastNonDominatedSort", @"FastNonDominatedSort as described in: Deb, Pratap, Agrawal and Meyarivan, ""A Fast and Elitist Multiobjective
    3837Genetic Algorithm: NSGA-II"", IEEE Transactions On Evolutionary Computation, Vol. 6, No. 2, April 2002")]
    39   [StorableClass]
     38  [StorableType("0D1919E6-FCDE-4216-831A-E6427C3D986E")]
    4039  public class FastNonDominatedSort : SingleSuccessorOperator, IMultiObjectiveOperator {
    4140
     
    5655
    5756    [StorableConstructor]
    58     protected FastNonDominatedSort(bool deserializing) : base(deserializing) { }
     57    protected FastNonDominatedSort(StorableConstructorFlag _) : base(_) { }
    5958    protected FastNonDominatedSort(FastNonDominatedSort original, Cloner cloner) : base(original, cloner) { }
    6059    public FastNonDominatedSort() {
  • trunk/HeuristicLab.Optimization.Operators/3.3/MultiObjective/RankAndCrowdingSorter.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.Operators;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Attic;
    2828using HeuristicLab.Selection;
    2929
    3030namespace HeuristicLab.Optimization.Operators {
    31   [StorableClass]
     31  [StorableType("CC2A5B04-361C-451B-87A4-524895748E79")]
    3232  public class RankAndCrowdingSorter : AlgorithmOperator, IMultiObjectiveOperator {
    3333    #region Parameter properties
     
    5050
    5151    [StorableConstructor]
    52     protected RankAndCrowdingSorter(bool deserializing) : base(deserializing) { }
     52    protected RankAndCrowdingSorter(StorableConstructorFlag _) : base(_) { }
    5353    protected RankAndCrowdingSorter(RankAndCrowdingSorter original, Cloner cloner) : base(original, cloner) { }
    5454    public RankAndCrowdingSorter()
Note: See TracChangeset for help on using the changeset viewer.