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
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3
Files:
58 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/BoundsChecker.cs

    r16453 r16462  
    2626using HeuristicLab.Operators;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3434  /// </summary>
    3535  [Item("BoundsChecker", "Checks if all elements of a real vector are inside the bounds. If not, elements are set to the respective values of the bounds.")]
    36   [StorableClass]
     36  [StorableType("9A3D7E10-6138-4B36-A284-BDDE8ECDBF36")]
    3737  public class BoundsChecker : SingleSuccessorOperator, IRealVectorBoundsChecker {
    3838    public LookupParameter<RealVector> RealVectorParameter {
     
    4444
    4545    [StorableConstructor]
    46     protected BoundsChecker(bool deserializing) : base(deserializing) { }
     46    protected BoundsChecker(StorableConstructorFlag _) : base(_) { }
    4747    protected BoundsChecker(BoundsChecker original, Cloner cloner) : base(original, cloner) { }
    4848    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators/NormalDistributedRealVectorCreator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Random;
    3030
     
    3434  /// </summary>
    3535  [Item("NormalDistributedRealVectorCreator", "An operator which creates a new random real vector with each element normally distributed in a specified range.")]
    36   [StorableClass]
     36  [StorableType("790F7401-DD2A-4910-8632-F737E39CE6EE")]
    3737  public class NormalDistributedRealVectorCreator : RealVectorCreator, IStrategyParameterCreator {
    3838
     
    5050
    5151    [StorableConstructor]
    52     protected NormalDistributedRealVectorCreator(bool deserializing) : base(deserializing) { }
     52    protected NormalDistributedRealVectorCreator(StorableConstructorFlag _) : base(_) { }
    5353    protected NormalDistributedRealVectorCreator(NormalDistributedRealVectorCreator original, Cloner cloner) : base(original, cloner) { }
    5454    public NormalDistributedRealVectorCreator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators/UniformRandomRealVectorCreator.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Optimization;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3232  /// </summary>
    3333  [Item("UniformRandomRealVectorCreator", "An operator which creates a new random real vector with each element uniformly distributed in a specified range.")]
    34   [StorableClass]
     34  [StorableType("DF237BEA-D21B-4A2C-820B-47CCC998D0E1")]
    3535  public class UniformRandomRealVectorCreator : RealVectorCreator, IStrategyParameterCreator {
    3636    [StorableConstructor]
    37     protected UniformRandomRealVectorCreator(bool deserializing) : base(deserializing) { }
     37    protected UniformRandomRealVectorCreator(StorableConstructorFlag _) : base(_) { }
    3838    protected UniformRandomRealVectorCreator(UniformRandomRealVectorCreator original, Cloner cloner) : base(original, cloner) { }
    3939    public UniformRandomRealVectorCreator() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/AverageCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3333  /// </remarks>
    3434  [Item("AverageCrossover", "The average crossover (intermediate recombination) produces a new offspring by calculating in each position the average of a number of parents. It is implemented as described by Beyer, H.-G. and Schwefel, H.-P. 2002. Evolution Strategies - A Comprehensive Introduction Natural Computing, 1, pp. 3-52.")]
    35   [StorableClass]
     35  [StorableType("D182B4D8-DFB1-467C-B6C8-8A8BC7540304")]
    3636  public class AverageCrossover : RealVectorCrossover {
    3737    [StorableConstructor]
    38     protected AverageCrossover(bool deserializing) : base(deserializing) { }
     38    protected AverageCrossover(StorableConstructorFlag _) : base(_) { }
    3939    protected AverageCrossover(AverageCrossover original, Cloner cloner) : base(original, cloner) { }
    4040    public AverageCrossover() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaBetaCrossover.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    4040  /// </remarks>
    4141  [Item("BlendAlphaBetaCrossover", "The blend alpha beta crossover (BLX-a-b) for real vectors is similar to the blend alpha crossover (BLX-a), but distinguishes between the better and worse of the parents. The interval from which to choose the new offspring can be extended beyond the better parent by specifying a higher alpha value, and beyond the worse parent by specifying a higher beta value. The new offspring is sampled uniformly in the extended range. It is implemented as described in Takahashi, M. and Kita, H. 2001. A crossover operator using independent component analysis for real-coded genetic algorithms Proceedings of the 2001 Congress on Evolutionary Computation, pp. 643-649.")]
    42   [StorableClass]
     42  [StorableType("08F92C45-995C-4A05-B86F-0885BCB3F04C")]
    4343  public class BlendAlphaBetaCrossover : RealVectorCrossover, ISingleObjectiveOperator {
    4444    /// <summary>
     
    6868
    6969    [StorableConstructor]
    70     protected BlendAlphaBetaCrossover(bool deserializing) : base(deserializing) { }
     70    protected BlendAlphaBetaCrossover(StorableConstructorFlag _) : base(_) { }
    7171    protected BlendAlphaBetaCrossover(BlendAlphaBetaCrossover original, Cloner cloner) : base(original, cloner) { }
    7272    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaCrossover.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3838  /// </remarks>
    3939  [Item("BlendAlphaCrossover", "The blend alpha crossover (BLX-a) for real vectors creates new offspring by sampling a new value in the range [min_i - d * alpha, max_i + d * alpha) at each position i. Here min_i and max_i are the smaller and larger value of the two parents at position i and d is max_i - min_i. It is implemented as described in Takahashi, M. and Kita, H. 2001. A crossover operator using independent component analysis for real-coded genetic algorithms Proceedings of the 2001 Congress on Evolutionary Computation, pp. 643-649.")]
    40   [StorableClass]
     40  [StorableType("A56EA6B8-79A2-4762-B651-BEBAB95F8E8E")]
    4141  public class BlendAlphaCrossover : RealVectorCrossover {
    4242    /// <summary>
     
    5151
    5252    [StorableConstructor]
    53     protected BlendAlphaCrossover(bool deserializing) : base(deserializing) { }
     53    protected BlendAlphaCrossover(StorableConstructorFlag _) : base(_) { }
    5454    protected BlendAlphaCrossover(BlendAlphaCrossover original, Cloner cloner) : base(original, cloner) { }
    5555    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/DiscreteCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3535  /// </remarks>
    3636  [Item("DiscreteCrossover", "Discrete crossover for real vectors: Creates a new offspring by combining the alleles in the parents such that each allele is randomly selected from one parent. It is implemented as described in Beyer, H.-G. and Schwefel, H.-P. 2002. Evolution Strategies - A Comprehensive Introduction Natural Computing, 1, pp. 3-52.")]
    37   [StorableClass]
     37  [StorableType("F88C9256-B1C9-43B4-B8EB-FAF2357A0310")]
    3838  public class DiscreteCrossover : RealVectorCrossover {
    3939    [StorableConstructor]
    40     protected DiscreteCrossover(bool deserializing) : base(deserializing) { }
     40    protected DiscreteCrossover(StorableConstructorFlag _) : base(_) { }
    4141    protected DiscreteCrossover(DiscreteCrossover original, Cloner cloner) : base(original, cloner) { }
    4242    public DiscreteCrossover() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/HeuristicCrossover.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3737  /// </remarks>
    3838  [Item("HeuristicCrossover", "The heuristic crossover produces offspring that extend the better parent in direction from the worse to the better parent. It is implemented as described in Wright, A.H. (1994), Genetic algorithms for real parameter optimization, Foundations of Genetic Algorithms, G.J.E. Rawlins (Ed.), Morgan Kaufmann, San Mateo, CA, 205-218.")]
    39   [StorableClass]
     39  [StorableType("CBD8F372-73EA-4D52-8D35-A3D2D514B96A")]
    4040  public class HeuristicCrossover : RealVectorCrossover, ISingleObjectiveOperator {
    4141    /// <summary>
     
    5353
    5454    [StorableConstructor]
    55     protected HeuristicCrossover(bool deserializing) : base(deserializing) { }
     55    protected HeuristicCrossover(StorableConstructorFlag _) : base(_) { }
    5656    protected HeuristicCrossover(HeuristicCrossover original, Cloner cloner) : base(original, cloner) { }
    5757    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/LocalCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3333  /// </remarks>
    3434  [Item("LocalCrossover", @"The local crossover is similar to the arithmetic all positions crossover, but uses a random alpha for each position x = alpha * p1 + (1-alpha) * p2. It is implemented as described in Dumitrescu, D. et al. (2000), Evolutionary computation, CRC Press, Boca Raton, FL., p. 194.")]
    35   [StorableClass]
     35  [StorableType("FB601681-7738-4380-889F-44A7CFA1D38F")]
    3636  public class LocalCrossover : RealVectorCrossover {
    3737    [StorableConstructor]
    38     protected LocalCrossover(bool deserializing) : base(deserializing) { }
     38    protected LocalCrossover(StorableConstructorFlag _) : base(_) { }
    3939    protected LocalCrossover(LocalCrossover original, Cloner cloner) : base(original, cloner) { }
    4040    public LocalCrossover() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/MultiRealVectorCrossover.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.PluginInfrastructure;
    3333
    3434namespace HeuristicLab.Encodings.RealVectorEncoding {
    3535  [Item("MultiRealVectorCrossover", "Randomly selects and applies one of its crossovers every time it is called.")]
    36   [StorableClass]
     36  [StorableType("38437BE4-8B77-4347-A7F8-73D787942944")]
    3737  public class MultiRealVectorCrossover : StochasticMultiBranch<IRealVectorCrossover>, IRealVectorCrossover, IStochasticOperator {
    3838    public override bool CanChangeName {
     
    5454
    5555    [StorableConstructor]
    56     protected MultiRealVectorCrossover(bool deserializing) : base(deserializing) { }
     56    protected MultiRealVectorCrossover(StorableConstructorFlag _) : base(_) { }
    5757    protected MultiRealVectorCrossover(MultiRealVectorCrossover original, Cloner cloner)
    5858      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/RandomConvexCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3333  /// </remarks>
    3434  [Item("RandomConvexCrossover", "The random convex crossover acts like the local crossover, but with just one randomly chosen alpha for all crossed positions. It is implementes as described in Dumitrescu, D. et al. (2000), Evolutionary computation, CRC Press, Boca Raton, FL, pp. 193 - 194.")]
    35   [StorableClass]
     35  [StorableType("951482B3-BBED-4C8F-BEC4-B26A6B756E72")]
    3636  public class RandomConvexCrossover : RealVectorCrossover {
    3737    [StorableConstructor]
    38     protected RandomConvexCrossover(bool deserializing) : base(deserializing) { }
     38    protected RandomConvexCrossover(StorableConstructorFlag _) : base(_) { }
    3939    protected RandomConvexCrossover(RandomConvexCrossover original, Cloner cloner) : base(original, cloner) { }
    4040    public RandomConvexCrossover() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SimulatedBinaryCrossover.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3636  /// </remarks>
    3737  [Item("SimulatedBinaryCrossover", "The simulated binary crossover (SBX) is implemented as described in Deb, K. and Agrawal, R. B. 1995. Simulated binary crossover for continuous search space. Complex Systems, 9, pp. 115-148.")]
    38   [StorableClass]
     38  [StorableType("0A0686ED-BA7E-41A6-824E-134C4BF36408")]
    3939  public class SimulatedBinaryCrossover : RealVectorCrossover {
    4040    /// <summary>
     
    4646
    4747    [StorableConstructor]
    48     protected SimulatedBinaryCrossover(bool deserializing) : base(deserializing) { }
     48    protected SimulatedBinaryCrossover(StorableConstructorFlag _) : base(_) { }
    4949    protected SimulatedBinaryCrossover(SimulatedBinaryCrossover original, Cloner cloner) : base(original, cloner) { }
    5050    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3535  /// </remarks>
    3636  [Item("SinglePointCrossover", "Breaks both parent chromosomes at a randomly chosen point and assembles a child by taking one part of the first parent and the other part of the second pard. It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")]
    37   [StorableClass]
     37  [StorableType("008449CF-6CB0-481D-855A-80DA1F2DFC7E")]
    3838  public class SinglePointCrossover : RealVectorCrossover {
    3939    [StorableConstructor]
    40     protected SinglePointCrossover(bool deserializing) : base(deserializing) { }
     40    protected SinglePointCrossover(StorableConstructorFlag _) : base(_) { }
    4141    protected SinglePointCrossover(SinglePointCrossover original, Cloner cloner) : base(original, cloner) { }
    4242    public SinglePointCrossover() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/UniformAllPositionsArithmeticCrossover.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3636  /// </remarks>
    3737  [Item("UniformAllPositionsArithmeticCrossover", "The uniform all positions arithmetic crossover constructs an offspring by calculating x = alpha * p1 + (1-alpha) * p2 for every position x in the vector. Note that for alpha = 0.5 it is the same as the AverageCrossover (except that the AverageCrossover is defined for more than 2 parents). It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")]
    38   [StorableClass]
     38  [StorableType("F3081373-87F2-43CE-92E3-F4D1A690FF31")]
    3939  public class UniformAllPositionsArithmeticCrossover : RealVectorCrossover {
    4040    /// <summary>
     
    4646
    4747    [StorableConstructor]
    48     protected UniformAllPositionsArithmeticCrossover(bool deserializing) : base(deserializing) { }
     48    protected UniformAllPositionsArithmeticCrossover(StorableConstructorFlag _) : base(_) { }
    4949    protected UniformAllPositionsArithmeticCrossover(UniformAllPositionsArithmeticCrossover original, Cloner cloner) : base(original, cloner) { }
    5050    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/UniformSomePositionsArithmeticCrossover.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3636  /// </remarks>
    3737  [Item("UniformSomePositionsArithmeticCrossover", "The uniform some positions arithmetic crossover (continuous recombination) constructs an offspring by calculating x = alpha * p1 + (1-alpha) * p2 for a position x in the vector with a given probability (otherwise p1 is taken at this position). It is implemented as described in Dumitrescu, D. et al. (2000), Evolutionary computation, CRC Press, Boca Raton, FL, p. 191. Note that Dumitrescu et al. specify the alpha to be 0.5.")]
    38   [StorableClass]
     38  [StorableType("54FF8CE9-72E4-4C39-AF00-F38A548EDDD6")]
    3939  public class UniformSomePositionsArithmeticCrossover : RealVectorCrossover {
    4040    /// <summary>
     
    5252
    5353    [StorableConstructor]
    54     protected UniformSomePositionsArithmeticCrossover(bool deserializing) : base(deserializing) { }
     54    protected UniformSomePositionsArithmeticCrossover(StorableConstructorFlag _) : base(_) { }
    5555    protected UniformSomePositionsArithmeticCrossover(UniformSomePositionsArithmeticCrossover original, Cloner cloner) : base(original, cloner) { }
    5656    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/HeuristicLab.Encodings.RealVectorEncoding-3.3.csproj

    r16454 r16462  
    108108      <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath>
    109109    </Reference>
    110     <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
     110    <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    111111      <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath>
    112112    </Reference>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/BreederGeneticAlgorithmManipulator.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3636  /// </remarks>
    3737  [Item("BreederGeneticAlgorithmManipulator", "It is implemented as described by Mühlenbein, H. and Schlierkamp-Voosen, D. 1993. Predictive Models for the Breeder Genetic Algorithm - I. Continuous Parameter Optimization. Evolutionary Computation, 1(1), pp. 25-49.")]
    38   [StorableClass]
     38  [StorableType("A9D7E5D6-6326-4C62-9EA0-E50785FDD677")]
    3939  public class BreederGeneticAlgorithmManipulator : RealVectorManipulator {
    4040    private static readonly double[] powerOfTwo = new double[] { 1, 0.5, 0.25, 0.125, 0.0625, 0.03125, 0.015625, 0.0078125, 0.00390625, 0.001953125, 0.0009765625, 0.00048828125, 0.000244140625, 0.0001220703125, 0.00006103515625, 0.000030517578125 };
     
    4444
    4545    [StorableConstructor]
    46     protected BreederGeneticAlgorithmManipulator(bool deserializing) : base(deserializing) { }
     46    protected BreederGeneticAlgorithmManipulator(StorableConstructorFlag _) : base(_) { }
    4747    protected BreederGeneticAlgorithmManipulator(BreederGeneticAlgorithmManipulator original, Cloner cloner) : base(original, cloner) { }
    4848    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/FixedNormalAllPositionsManipulator.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727using HeuristicLab.Random;
    2828
     
    3737  /// </remarks>
    3838  [Item("FixedNormalAllPositionsManipulator", "This manipulation operator adds a value sigma_i * N_i(0,1) to the current value in each position i given the values for sigma_i in the parameter. If there are less elements in Sigma than positions, then Sigma is cycled. It is implemented as described in Beyer, H.-G. and Schwefel, H.-P. 2002. Evolution Strategies - A Comprehensive Introduction Natural Computing, 1, pp. 3-52.")]
    39   [StorableClass]
     39  [StorableType("DEEF042E-72C8-47D4-A4F8-E6C38FD90CC0")]
    4040  public class FixedNormalAllPositionsManipulator : RealVectorManipulator {
    4141
     
    4545
    4646    [StorableConstructor]
    47     protected FixedNormalAllPositionsManipulator(bool deserializing) : base(deserializing) { }
     47    protected FixedNormalAllPositionsManipulator(StorableConstructorFlag _) : base(_) { }
    4848    protected FixedNormalAllPositionsManipulator(FixedNormalAllPositionsManipulator original, Cloner cloner) : base(original, cloner) { }
    4949    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformAllPositionsManipulator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3737  /// </remarks>
    3838  [Item("MichalewiczNonUniformAllPositionsManipulator", "It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")]
    39   [StorableClass]
     39  [StorableType("32DCDE59-7557-48F7-98BB-678C47E98D7C")]
    4040  public class MichalewiczNonUniformAllPositionsManipulator : RealVectorManipulator, IIterationBasedOperator {
    4141    /// <summary>
     
    5959
    6060    [StorableConstructor]
    61     protected MichalewiczNonUniformAllPositionsManipulator(bool deserializing) : base(deserializing) { }
     61    protected MichalewiczNonUniformAllPositionsManipulator(StorableConstructorFlag _) : base(_) { }
    6262    protected MichalewiczNonUniformAllPositionsManipulator(MichalewiczNonUniformAllPositionsManipulator original, Cloner cloner) : base(original, cloner) { }
    6363    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformOnePositionManipulator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3737  /// </remarks>
    3838  [Item("MichalewiczNonUniformOnePositionManipulator", "It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")]
    39   [StorableClass]
     39  [StorableType("AD99F9B0-C820-416D-B57D-2287CE2E04D2")]
    4040  public class MichalewiczNonUniformOnePositionManipulator : RealVectorManipulator, IIterationBasedOperator {
    4141    /// <summary>
     
    5959
    6060    [StorableConstructor]
    61     protected MichalewiczNonUniformOnePositionManipulator(bool deserializing) : base(deserializing) { }
     61    protected MichalewiczNonUniformOnePositionManipulator(StorableConstructorFlag _) : base(_) { }
    6262    protected MichalewiczNonUniformOnePositionManipulator(MichalewiczNonUniformOnePositionManipulator original, Cloner cloner) : base(original, cloner) { }
    6363    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MultiRealVectorManipulator.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232
    3333namespace HeuristicLab.Encodings.RealVectorEncoding {
    3434  [Item("MultiRealVectorManipulator", "Randomly selects and applies one of its manipulators every time it is called.")]
    35   [StorableClass]
     35  [StorableType("E52D11F1-D746-48F7-AFF2-0E029F651FC5")]
    3636  public class MultiRealVectorManipulator : StochasticMultiBranch<IRealVectorManipulator>, IRealVectorManipulator, IStochasticOperator {
    3737    public override bool CanChangeName {
     
    5050
    5151    [StorableConstructor]
    52     protected MultiRealVectorManipulator(bool deserializing) : base(deserializing) { }
     52    protected MultiRealVectorManipulator(StorableConstructorFlag _) : base(_) { }
    5353    protected MultiRealVectorManipulator(MultiRealVectorManipulator original, Cloner cloner) : base(original, cloner) { }
    5454    public MultiRealVectorManipulator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialAllPositionManipulator.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3636  /// </remarks>
    3737  [Item("PolynomialAllPositionManipulator", "The polynomial manipulation is implemented as described in Deb, K. & Goyal, M. A. 1996. Combined Genetic Adaptive Search (GeneAS) for Engineering Design Computer Science and Informatics, 26, pp. 30-45. In this operator it is performed on all positions of the real vector.")]
    38   [StorableClass]
     38  [StorableType("C2C54BF4-9DA4-418F-BD85-010EFA220BF4")]
    3939  public class PolynomialAllPositionManipulator : RealVectorManipulator {
    4040    /// <summary>
     
    5656
    5757    [StorableConstructor]
    58     protected PolynomialAllPositionManipulator(bool deserializing) : base(deserializing) { }
     58    protected PolynomialAllPositionManipulator(StorableConstructorFlag _) : base(_) { }
    5959    protected PolynomialAllPositionManipulator(PolynomialAllPositionManipulator original, Cloner cloner) : base(original, cloner) { }
    6060    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialOnePositionManipulator.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3535  /// </remarks>
    3636  [Item("PolynomialOnePositionManipulator", "The polynomial manipulation is implemented as described in Deb, K. & Goyal, M. A. 1996. Combined Genetic Adaptive Search (GeneAS) for Engineering Design Computer Science and Informatics, 26, pp. 30-45. In this operator it is performed on a single randomly chosen position of the real vector.")]
    37   [StorableClass]
     37  [StorableType("19F0F379-FCE8-43DE-B5B8-D8F2924D0F92")]
    3838  public class PolynomialOnePositionManipulator : RealVectorManipulator {
    3939    /// <summary>
     
    5555
    5656    [StorableConstructor]
    57     protected PolynomialOnePositionManipulator(bool deserializing) : base(deserializing) { }
     57    protected PolynomialOnePositionManipulator(StorableConstructorFlag _) : base(_) { }
    5858    protected PolynomialOnePositionManipulator(PolynomialOnePositionManipulator original, Cloner cloner) : base(original, cloner) { }
    5959    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/SelfAdaptiveNormalAllPositionsManipulator.cs

    r16453 r16462  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828using HeuristicLab.Random;
    2929
     
    3838  /// </remarks>
    3939  [Item("SelfAdaptiveNormalAllPositionsManipulator", "This manipulation operator adds a value sigma_i * N(0,1) to the current value in each position i. The values for sigma_i are looked up dynamically. If there are less elements in the strategy vector than positions, then the strategy vector is cycled. It is implemented as described in Beyer, H.-G. and Schwefel, H.-P. 2002. Evolution Strategies - A Comprehensive Introduction Natural Computing, 1, pp. 3-52.")]
    40   [StorableClass]
     40  [StorableType("7F5FC5F4-9F99-4856-AF88-02C67CAF0251")]
    4141  // BackwardsCompatibility3.3
    4242  // Rename class to match file- and itemname when upgrading to 3.4
     
    5757
    5858    [StorableConstructor]
    59     protected NormalAllPositionsManipulator(bool deserializing) : base(deserializing) { }
     59    protected NormalAllPositionsManipulator(StorableConstructorFlag _) : base(_) { }
    6060    protected NormalAllPositionsManipulator(NormalAllPositionsManipulator original, Cloner cloner) : base(original, cloner) { }
    6161    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/UniformOnePositionManipulator.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Data;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3434  /// </remarks>
    3535  [Item("UniformOnePositionManipulator", "Changes a single position in the vector by sampling uniformly from the interval [Minimum_i, Maximum_i) in dimension i. It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")]
    36   [StorableClass]
     36  [StorableType("CABE72D6-5CBD-40F5-B541-77CB1A5346E1")]
    3737  public class UniformOnePositionManipulator : RealVectorManipulator {
    3838    [StorableConstructor]
    39     protected UniformOnePositionManipulator(bool deserializing) : base(deserializing) { }
     39    protected UniformOnePositionManipulator(StorableConstructorFlag _) : base(_) { }
    4040    protected UniformOnePositionManipulator(UniformOnePositionManipulator original, Cloner cloner) : base(original, cloner) { }
    4141    public UniformOnePositionManipulator() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMove.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525
    2626namespace HeuristicLab.Encodings.RealVectorEncoding {
    2727  [Item("AdditiveMove", "A move on a real vector that that represents an additive change in one dimension.")]
    28   [StorableClass]
     28  [StorableType("D7E22627-2AB5-44A9-BD4D-9D1C5E45A150")]
    2929  public class AdditiveMove : Item {
    3030    [Storable]
     
    3636
    3737    [StorableConstructor]
    38     protected AdditiveMove(bool deserializing) : base(deserializing) { }
     38    protected AdditiveMove(StorableConstructorFlag _) : base(_) { }
    3939    protected AdditiveMove(AdditiveMove original, Cloner cloner)
    4040      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveGenerator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    3131  [Item("AdditiveMoveGenerator", "Base class for all additive move generators.")]
    32   [StorableClass]
     32  [StorableType("254F20A6-AB7F-4C7D-9EA7-9310FD56743F")]
    3333  public abstract class AdditiveMoveGenerator : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, IMoveGenerator, IStochasticOperator {
    3434    public override bool CanChangeName {
     
    5252
    5353    [StorableConstructor]
    54     protected AdditiveMoveGenerator(bool deserializing) : base(deserializing) { }
     54    protected AdditiveMoveGenerator(StorableConstructorFlag _) : base(_) { }
    5555    protected AdditiveMoveGenerator(AdditiveMoveGenerator original, Cloner cloner) : base(original, cloner) { }
    5656    public AdditiveMoveGenerator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveMaker.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    3131  [Item("AdditiveMoveMaker", "Peforms an additive move on a given real vector and updates the quality.")]
    32   [StorableClass]
     32  [StorableType("DFEC364D-EFF9-456C-A85C-095F454719C8")]
    3333  public class AdditiveMoveMaker : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, IMoveMaker, ISingleObjectiveOperator {
    3434    public override bool CanChangeName {
     
    4949
    5050    [StorableConstructor]
    51     protected AdditiveMoveMaker(bool deserializing) : base(deserializing) { }
     51    protected AdditiveMoveMaker(StorableConstructorFlag _) : base(_) { }
    5252    protected AdditiveMoveMaker(AdditiveMoveMaker original, Cloner cloner) : base(original, cloner) { }
    5353    public AdditiveMoveMaker()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuAttribute.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525
    2626namespace HeuristicLab.Encodings.RealVectorEncoding {
    2727  [Item("AdditiveMoveTabuAttribute", "Tabu attribute for additive moves.")]
    28   [StorableClass]
     28  [StorableType("F53207BE-01C0-4057-AACE-8DF031C8EBC5")]
    2929  public class AdditiveMoveTabuAttribute : Item {
    3030    [Storable]
     
    3838
    3939    [StorableConstructor]
    40     protected AdditiveMoveTabuAttribute(bool deserializing) : base(deserializing) { }
     40    protected AdditiveMoveTabuAttribute(StorableConstructorFlag _) : base(_) { }
    4141    protected AdditiveMoveTabuAttribute(AdditiveMoveTabuAttribute original, Cloner cloner)
    4242      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuChecker.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030
    3131namespace HeuristicLab.Encodings.RealVectorEncoding {
    3232  [Item("AdditiveMoveTabuChecker", "Prevents falling back into ranges that have been moved over before.")]
    33   [StorableClass]
     33  [StorableType("CA7D09FF-C936-474C-A0F8-17D9DBF783C2")]
    3434  public class AdditiveMoveTabuChecker : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, ITabuChecker {
    3535    public override bool CanChangeName {
     
    6464
    6565    [StorableConstructor]
    66     protected AdditiveMoveTabuChecker(bool deserializing) : base(deserializing) { }
     66    protected AdditiveMoveTabuChecker(StorableConstructorFlag _) : base(_) { }
    6767    protected AdditiveMoveTabuChecker(AdditiveMoveTabuChecker original, Cloner cloner) : base(original, cloner) { }
    6868    public AdditiveMoveTabuChecker()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuMaker.cs

    r16453 r16462  
    2424using HeuristicLab.Optimization.Operators;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Encodings.RealVectorEncoding {
    2929  [Item("AdditiveMoveTabuMaker", "Sets the move tabu.")]
    30   [StorableClass]
     30  [StorableType("D495C70E-BE42-4FFB-B0E2-8422B7C8A1E9")]
    3131  public class AdditiveMoveTabuMaker : TabuMaker, IAdditiveRealVectorMoveOperator {
    3232    public ILookupParameter<AdditiveMove> AdditiveMoveParameter {
     
    3838
    3939    [StorableConstructor]
    40     protected AdditiveMoveTabuMaker(bool deserializing) : base(deserializing) { }
     40    protected AdditiveMoveTabuMaker(StorableConstructorFlag _) : base(_) { }
    4141    protected AdditiveMoveTabuMaker(AdditiveMoveTabuMaker original, Cloner cloner) : base(original, cloner) { }
    4242    public AdditiveMoveTabuMaker()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/StochasticNormalMultiMoveGenerator.cs

    r16453 r16462  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828using HeuristicLab.Random;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    3131  [Item("StochasticNormalMultiMoveGenerator", "Generates normal distributed moves from a given real vector.")]
    32   [StorableClass]
     32  [StorableType("2FCED1E2-2F4F-440A-9402-AA908DF0887B")]
    3333  public class StochasticNormalMultiMoveGenerator : AdditiveMoveGenerator, IMultiMoveGenerator {
    3434    public IValueLookupParameter<DoubleValue> SigmaParameter {
     
    4040
    4141    [StorableConstructor]
    42     protected StochasticNormalMultiMoveGenerator(bool deserializing) : base(deserializing) { }
     42    protected StochasticNormalMultiMoveGenerator(StorableConstructorFlag _) : base(_) { }
    4343    protected StochasticNormalMultiMoveGenerator(StochasticNormalMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { }
    4444    public StochasticNormalMultiMoveGenerator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/StochasticPolynomialMultiMoveGenerator.cs

    r16453 r16462  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
    3030  [Item("StochasticPolynomialMultiMoveGenerator", "Generates polynomial moves from a given real vector.")]
    31   [StorableClass]
     31  [StorableType("94B0F4BE-E2CE-4521-8351-AAA21611D589")]
    3232  public class StochasticPolynomialMultiMoveGenerator : AdditiveMoveGenerator, IMultiMoveGenerator {
    3333    /// <summary>
     
    4949
    5050    [StorableConstructor]
    51     protected StochasticPolynomialMultiMoveGenerator(bool deserializing) : base(deserializing) { }
     51    protected StochasticPolynomialMultiMoveGenerator(StorableConstructorFlag _) : base(_) { }
    5252    protected StochasticPolynomialMultiMoveGenerator(StochasticPolynomialMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { }
    5353    public StochasticPolynomialMultiMoveGenerator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorNeighborhoodParticleUpdater.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.PluginInfrastructure;
    2727
    2828namespace HeuristicLab.Encodings.RealVectorEncoding {
    2929  [Item("Neighborhood Particle Updater", "Updates the particle's position using (among other things) the best neighbor's position. Point = Point + Velocity*Inertia + (PersonalBestPoint-Point)*Phi_P*r_p + (BestNeighborPoint-Point)*Phi_G*r_g.")]
    30   [StorableClass]
     30  [StorableType("D30B72C0-247D-466C-B677-0C99DBFEB2E4")]
    3131  [NonDiscoverableType]
    3232  [Obsolete("Use SPSO2011ParticleUpdater")]
     
    3535    #region Construction & Cloning
    3636    [StorableConstructor]
    37     private RealVectorNeighborhoodParticleUpdater(bool deserializing) : base(deserializing) { }
     37    private RealVectorNeighborhoodParticleUpdater(StorableConstructorFlag _) : base(_) { }
    3838    private RealVectorNeighborhoodParticleUpdater(RealVectorNeighborhoodParticleUpdater original, Cloner cloner) : base(original, cloner) { }
    3939    public RealVectorNeighborhoodParticleUpdater() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleCreator.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030using HeuristicLab.PluginInfrastructure;
    3131
    3232namespace HeuristicLab.Encodings.RealVectorEncoding {
    3333  [Item("RealVectorParticleCreator", "Creates a particle with position, zero velocity vector and personal best.")]
    34   [StorableClass]
     34  [StorableType("C2C2600B-BB18-4A97-960C-74C9303D2A33")]
    3535  [NonDiscoverableType]
    3636  [Obsolete("Use SPSOParticleCreator")]
     
    6969    #region Construction & Cloning
    7070    [StorableConstructor]
    71     protected RealVectorParticleCreator(bool deserializing) : base(deserializing) { }
     71    protected RealVectorParticleCreator(StorableConstructorFlag _) : base(_) { }
    7272    protected RealVectorParticleCreator(RealVectorParticleCreator original, Cloner cloner) : base(original, cloner) { }
    7373    public RealVectorParticleCreator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleUpdater.cs

    r16453 r16462  
    2626using HeuristicLab.Operators;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.PluginInfrastructure;
    3030
     
    3232
    3333  [Item("RealVectorParticleUpdater", "Updates a certain particle taking the current position and velocity into account, as well as the best point and the best point in a local neighborhood.")]
    34   [StorableClass]
     34  [StorableType("1396AC75-4875-4A0F-B6C9-640047078E6E")]
    3535  [NonDiscoverableType]
    3636  [Obsolete("Use SPSO2011ParticleUpdater")]
     
    120120    #region Construction & Cloning
    121121    [StorableConstructor]
    122     protected RealVectorParticleUpdater(bool deserializing) : base(deserializing) { }
     122    protected RealVectorParticleUpdater(StorableConstructorFlag _) : base(_) { }
    123123    protected RealVectorParticleUpdater(RealVectorParticleUpdater original, Cloner cloner) : base(original, cloner) { }
    124124    public RealVectorParticleUpdater()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization.Operators;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.PluginInfrastructure;
    3333
    3434namespace HeuristicLab.Encodings.RealVectorEncoding {
    3535  [Item("RealVectorSwarmUpdater", "Updates personal best point and quality as well as global best point and quality.")]
    36   [StorableClass]
     36  [StorableType("190172D5-090F-49DA-B2FB-AD2DF8064F77")]
    3737  [NonDiscoverableType]
    3838  [Obsolete("Use SPSOSwarmUpdater")]
     
    176176
    177177    [StorableConstructor]
    178     private RealVectorSwarmUpdater(bool deserializing) : base(deserializing) { }
     178    private RealVectorSwarmUpdater(StorableConstructorFlag _) : base(_) { }
    179179    private RealVectorSwarmUpdater(RealVectorSwarmUpdater original, Cloner cloner)
    180180      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorTotallyConnectedParticleUpdater.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.PluginInfrastructure;
    2727
    2828namespace HeuristicLab.Encodings.RealVectorEncoding {
    2929  [Item("Totally Connected Particle Updater", "Updates the particle's position using (among other things) the global best position. Use together with the empty topology initialzer. Point = Point + Velocity*Inertia + (PersonalBestPoint-Point)*Phi_P*r_p + (BestPoint-Point)*Phi_G*r_g")]
    30   [StorableClass]
     30  [StorableType("39FC0C08-AE80-4FA1-8C04-F54DE266C19E")]
    3131  [NonDiscoverableType]
    3232  [Obsolete("Use SPSO2011ParticleUpdater")]
     
    3535    #region Construction & Cloning
    3636    [StorableConstructor]
    37     private RealVectorTotallyConnectedParticleUpdater(bool deserializing) : base(deserializing) { }
     37    private RealVectorTotallyConnectedParticleUpdater(StorableConstructorFlag _) : base(_) { }
    3838    private RealVectorTotallyConnectedParticleUpdater(RealVectorTotallyConnectedParticleUpdater original, Cloner cloner) : base(original, cloner) { }
    3939    public RealVectorTotallyConnectedParticleUpdater() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2007ParticleUpdater.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Data;
    26 using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2827
    2928namespace HeuristicLab.Encodings.RealVectorEncoding {
    3029  [Item("SPSO 2007 Particle Updater", "Updates the particle's position according to the formulae described in SPSO 2007.")]
    31   [StorableClass]
     30  [StorableType("60C34D7A-CA73-432C-9EB1-05E503D8D2DD")]
    3231  public sealed class SPSO2007ParticleUpdater : SPSOParticleUpdater {
    3332
    3433    #region Construction & Cloning
    3534    [StorableConstructor]
    36     private SPSO2007ParticleUpdater(bool deserializing) : base(deserializing) { }
     35    private SPSO2007ParticleUpdater(StorableConstructorFlag _) : base(_) { }
    3736    private SPSO2007ParticleUpdater(SPSO2007ParticleUpdater original, Cloner cloner) : base(original, cloner) { }
    3837    public SPSO2007ParticleUpdater() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2007VelocityInitializer.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525
    2626namespace HeuristicLab.Encodings.RealVectorEncoding {
    2727  [Item("Velocity Initializer (SPSO 2007)", "Initializes the velocity vector.")]
    28   [StorableClass]
     28  [StorableType("40B46512-D94E-45E5-ABE5-6D9AA5B7D13A")]
    2929  public class SPSO2007VelocityInitializer : SPSOVelocityInitializer {
    3030   
    3131    #region Construction & Cloning
    3232    [StorableConstructor]
    33     protected SPSO2007VelocityInitializer(bool deserializing) : base(deserializing) { }
     33    protected SPSO2007VelocityInitializer(StorableConstructorFlag _) : base(_) { }
    3434    protected SPSO2007VelocityInitializer(SPSO2007VelocityInitializer original, Cloner cloner) : base(original, cloner) { }
    3535    public SPSO2007VelocityInitializer() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2011ParticleUpdater.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Data;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727using HeuristicLab.Random;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
    3030  [Item("SPSO 2011 Particle Updater", "Updates the particle's position according to the formulae described in SPSO 2011.")]
    31   [StorableClass]
     31  [StorableType("C680E305-159C-4A76-83E5-53982B583F9B")]
    3232  public sealed class SPSO2011ParticleUpdater : SPSOParticleUpdater {
    3333    #region Construction & Cloning
    3434    [StorableConstructor]
    35     private SPSO2011ParticleUpdater(bool deserializing) : base(deserializing) { }
     35    private SPSO2011ParticleUpdater(StorableConstructorFlag _) : base(_) { }
    3636    private SPSO2011ParticleUpdater(SPSO2011ParticleUpdater original, Cloner cloner) : base(original, cloner) { }
    3737    public SPSO2011ParticleUpdater() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2011VelocityInitializer.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525
    2626namespace HeuristicLab.Encodings.RealVectorEncoding {
    2727  [Item("Velocity Initializer (SPSO 2011)", "Initializes the velocity vector.")]
    28   [StorableClass]
     28  [StorableType("E844F8B9-068B-433D-8693-9416CA9140FB")]
    2929  public class SPSO2011VelocityInitializer : SPSOVelocityInitializer {
    3030   
    3131    #region Construction & Cloning
    3232    [StorableConstructor]
    33     protected SPSO2011VelocityInitializer(bool deserializing) : base(deserializing) { }
     33    protected SPSO2011VelocityInitializer(StorableConstructorFlag _) : base(_) { }
    3434    protected SPSO2011VelocityInitializer(SPSO2011VelocityInitializer original, Cloner cloner) : base(original, cloner) { }
    3535    public SPSO2011VelocityInitializer() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOParticleCreator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    3131  [Item("Particle Creator (SPSO)", "Creates a particle with position, velocity vector and personal best.")]
    32   [StorableClass]
     32  [StorableType("A2BB1DB9-7E4A-4DEA-B469-612F26645E0B")]
    3333  public class SPSOParticleCreator : AlgorithmOperator, IRealVectorParticleCreator, IStochasticOperator {
    3434
     
    5959    #region Construction & Cloning
    6060    [StorableConstructor]
    61     protected SPSOParticleCreator(bool deserializing) : base(deserializing) { }
     61    protected SPSOParticleCreator(StorableConstructorFlag _) : base(_) { }
    6262    protected SPSOParticleCreator(SPSOParticleCreator original, Cloner cloner) : base(original, cloner) { }
    6363    public SPSOParticleCreator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOParticleUpdater.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    3131
    3232  [Item("Particle Updater (SPSO)", "Updates a certain particle taking the current position and velocity into account, as well as the best point and the best point in a local neighborhood.")]
    33   [StorableClass]
     33  [StorableType("D29959F9-476B-47E3-8426-B358C9C07E01")]
    3434  public abstract class SPSOParticleUpdater : SingleSuccessorOperator, IRealVectorParticleUpdater {
    3535
     
    7575    #region Construction & Cloning
    7676    [StorableConstructor]
    77     protected SPSOParticleUpdater(bool deserializing) : base(deserializing) { }
     77    protected SPSOParticleUpdater(StorableConstructorFlag _) : base(_) { }
    7878    protected SPSOParticleUpdater(SPSOParticleUpdater original, Cloner cloner) : base(original, cloner) { }
    7979    public SPSOParticleUpdater()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOSwarmUpdater.cs

    r16453 r16462  
    3030using HeuristicLab.Optimization.Operators;
    3131using HeuristicLab.Parameters;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HEAL.Fossil;
    3333using HeuristicLab.PluginInfrastructure;
    3434
    3535namespace HeuristicLab.Encodings.RealVectorEncoding {
    3636  [Item("Swarm Updater (SPSO)", "Updates personal best point and quality as well as neighbor best point and quality.")]
    37   [StorableClass]
     37  [StorableType("B8244196-9DB9-477C-A0A1-C1EB5BF4E1C1")]
    3838  public sealed class SPSOSwarmUpdater : SingleSuccessorOperator, IRealVectorSwarmUpdater, ISingleObjectiveOperator {
    3939
     
    109109
    110110    [StorableConstructor]
    111     private SPSOSwarmUpdater(bool deserializing) : base(deserializing) { }
     111    private SPSOSwarmUpdater(StorableConstructorFlag _) : base(_) { }
    112112    private SPSOSwarmUpdater(SPSOSwarmUpdater original, Cloner cloner)
    113113      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOVelocityInitializer.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    3131  [Item("Velocity Initializer (SPSO)", "Initializes the velocity vector.")]
    32   [StorableClass]
     32  [StorableType("BB130DA2-221C-4C56-BF8D-9492BFA8E3C2")]
    3333  public abstract class SPSOVelocityInitializer : SingleSuccessorOperator, IStochasticOperator {
    3434    #region Parameters
     
    4949    #region Construction & Cloning
    5050    [StorableConstructor]
    51     protected SPSOVelocityInitializer(bool deserializing) : base(deserializing) { }
     51    protected SPSOVelocityInitializer(StorableConstructorFlag _) : base(_) { }
    5252    protected SPSOVelocityInitializer(SPSOVelocityInitializer original, Cloner cloner) : base(original, cloner) { }
    5353    protected SPSOVelocityInitializer()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVector.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Data;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Encodings.RealVectorEncoding {
    29   [StorableClass]
     29  [StorableType("C4213FB3-77C3-4814-A7A3-0151B0FF5270")]
    3030  [Item("RealVector", "Represents a vector of real values.")]
    3131  public class RealVector : DoubleArray {
    3232    [StorableConstructor]
    33     protected RealVector(bool deserializing) : base(deserializing) { }
     33    protected RealVector(StorableConstructorFlag _) : base(_) { }
    3434    protected RealVector(RealVector original, Cloner cloner) : base(original, cloner) { }
    3535    public RealVector() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCreator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3333  /// </summary>
    3434  [Item("RealVectorCreator", "A base class for operators creating real-valued vectors.")]
    35   [StorableClass]
     35  [StorableType("C6A3C750-7BAF-4BE7-91CC-D8290F3B006E")]
    3636  public abstract class RealVectorCreator : InstrumentedOperator, IRealVectorCreator, IStochasticOperator {
    3737    public override bool CanChangeName {
     
    5353
    5454    [StorableConstructor]
    55     protected RealVectorCreator(bool deserializing) : base(deserializing) { }
     55    protected RealVectorCreator(StorableConstructorFlag _) : base(_) { }
    5656    protected RealVectorCreator(RealVectorCreator original, Cloner cloner) : base(original, cloner) { }
    5757    protected RealVectorCreator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCrossover.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030
    3131namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3434  /// </summary>
    3535  [Item("RealVectorCrossover", "A base class for operators that perform a crossover of real-valued vectors.")]
    36   [StorableClass]
     36  [StorableType("4E51D1FF-056B-4A4D-8D90-3EB640EAF44A")]
    3737  public abstract class RealVectorCrossover : InstrumentedOperator, IRealVectorCrossover, IStochasticOperator {
    3838    public override bool CanChangeName {
     
    6161
    6262    [StorableConstructor]
    63     protected RealVectorCrossover(bool deserializing) : base(deserializing) { }
     63    protected RealVectorCrossover(StorableConstructorFlag _) : base(_) { }
    6464    protected RealVectorCrossover(RealVectorCrossover original, Cloner cloner)
    6565      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEncoding.cs

    r16453 r16462  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131using HeuristicLab.PluginInfrastructure;
    3232
    3333namespace HeuristicLab.Encodings.RealVectorEncoding {
    3434  [Item("RealVectorEncoding", "Describes a real vector encoding.")]
    35   [StorableClass]
     35  [StorableType("155FFE02-931F-457D-AC95-A0389B0BFECD")]
    3636  public sealed class RealVectorEncoding : Encoding<IRealVectorCreator> {
    3737    #region Encoding Parameters
     
    7777
    7878    [StorableConstructor]
    79     private RealVectorEncoding(bool deserializing) : base(deserializing) { }
     79    private RealVectorEncoding(StorableConstructorFlag _) : base(_) { }
    8080    [StorableHook(HookType.AfterDeserialization)]
    8181    private void AfterDeserialization() {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorManipulator.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030
    3131namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3434  /// </summary>
    3535  [Item("RealVectorManipulator", "A base class for operators that manipulate real-valued vectors.")]
    36   [StorableClass]
     36  [StorableType("E1C6331C-E650-4160-8C54-407DE0253277")]
    3737  public abstract class RealVectorManipulator : InstrumentedOperator, IRealVectorManipulator, IStochasticOperator {
    3838    public override bool CanChangeName {
     
    5858
    5959    [StorableConstructor]
    60     protected RealVectorManipulator(bool deserializing) : base(deserializing) { }
     60    protected RealVectorManipulator(StorableConstructorFlag _) : base(_) { }
    6161    protected RealVectorManipulator(RealVectorManipulator original, Cloner cloner)
    6262      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ReflectiveBoundsChecker.cs

    r16453 r16462  
    2626using HeuristicLab.Operators;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3434  /// </summary>
    3535  [Item("ReflectiveBoundsChecker", "Checks if all elements of a real vector are inside the bounds. If not, elements are mirrored at the bounds.")]
    36   [StorableClass]
     36  [StorableType("9F043D1C-1F6F-4E53-95F5-ECDBD7C7FF90")]
    3737  public class ReflectiveBoundsChecker : SingleSuccessorOperator, IRealVectorBoundsChecker {
    3838    public LookupParameter<RealVector> RealVectorParameter {
     
    4444
    4545    [StorableConstructor]
    46     protected ReflectiveBoundsChecker(bool deserializing) : base(deserializing) { }
     46    protected ReflectiveBoundsChecker(StorableConstructorFlag _) : base(_) { }
    4747    protected ReflectiveBoundsChecker(ReflectiveBoundsChecker original, Cloner cloner) : base(original, cloner) { }
    4848    /// <summary>
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ShakingOperators/RealVectorShakingOperator.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization.Operators;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.PluginInfrastructure;
    3333
     
    3737  /// </summary>
    3838  [Item("RealVectorShakingOperator", "A shaking operator for VNS which uses available manipulation operators to perform the shaking.")]
    39   [StorableClass]
     39  [StorableType("EDA38073-1563-488D-80A0-67FBDFE8B460")]
    4040  public class RealVectorShakingOperator : ShakingOperator<IRealVectorManipulator>, IRealVectorMultiNeighborhoodShakingOperator, IStochasticOperator {
    4141
     
    5454
    5555    [StorableConstructor]
    56     protected RealVectorShakingOperator(bool deserializing) : base(deserializing) { }
     56    protected RealVectorShakingOperator(StorableConstructorFlag _) : base(_) { }
    5757    protected RealVectorShakingOperator(RealVectorShakingOperator original, Cloner cloner) : base(original, cloner) { }
    5858    public override IDeepCloneable Clone(Cloner cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/SimilarityCalculators/EuclideanSimilarityCalculator.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization.Operators;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Encodings.RealVectorEncoding {
    2929  [Item("Euclidean Similarity Calculator for RealVector", "Calculates the solution similarity based on the Euclidean distance and a transformation into (0;1] between two real vectors.")]
    30   [StorableClass]
     30  [StorableType("535B4987-9EB4-48AB-8189-FA5100F01ADF")]
    3131  public sealed class EuclideanSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator {
    3232    protected override bool IsCommutative {
     
    4747
    4848    [StorableConstructor]
    49     private EuclideanSimilarityCalculator(bool deserializing) : base(deserializing) { }
     49    private EuclideanSimilarityCalculator(StorableConstructorFlag _) : base(_) { }
    5050    private EuclideanSimilarityCalculator(EuclideanSimilarityCalculator original, Cloner cloner)
    5151      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/SimilarityCalculators/HammingSimilarityCalculator.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization.Operators;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Encodings.RealVectorEncoding {
    2929  [Item("Hamming Similarity Calculator for RealVector", "Calculates the solution similarity based on the Hamming distance between two real vectors.")]
    30   [StorableClass]
     30  [StorableType("D3E14606-0E63-4DF6-BF05-AADF5AA37E44")]
    3131  public sealed class HammingSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator {
    3232    protected override bool IsCommutative {
     
    3535
    3636    [StorableConstructor]
    37     private HammingSimilarityCalculator(bool deserializing) : base(deserializing) { }
     37    private HammingSimilarityCalculator(StorableConstructorFlag _) : base(_) { }
    3838    private HammingSimilarityCalculator(HammingSimilarityCalculator original, Cloner cloner) : base(original, cloner) { }
    3939    public HammingSimilarityCalculator() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCreator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    3131  [Item("StdDevStrategyVectorCreator", "Creates the endogeneous strategy parameters.")]
    32   [StorableClass]
     32  [StorableType("5AF56BE4-3080-431D-AD5A-811F50376953")]
    3333  public class StdDevStrategyVectorCreator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterCreator {
    3434    public override bool CanChangeName {
     
    4949
    5050    [StorableConstructor]
    51     protected StdDevStrategyVectorCreator(bool deserializing) : base(deserializing) { }
     51    protected StdDevStrategyVectorCreator(StorableConstructorFlag _) : base(_) { }
    5252    protected StdDevStrategyVectorCreator(StdDevStrategyVectorCreator original, Cloner cloner) : base(original, cloner) { }
    5353    public StdDevStrategyVectorCreator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs

    r16453 r16462  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
    3030  [Item("StdDevStrategyVectorCrossover", "Crosses the strategy vector by using intermediate recombination (average crossover).")]
    31   [StorableClass]
     31  [StorableType("3CCF8FC5-6D6E-4E3E-AD8B-E23B869B97FC")]
    3232  public class StdDevStrategyVectorCrossover : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterCrossover {
    3333    public override bool CanChangeName {
     
    4545
    4646    [StorableConstructor]
    47     protected StdDevStrategyVectorCrossover(bool deserializing) : base(deserializing) { }
     47    protected StdDevStrategyVectorCrossover(StorableConstructorFlag _) : base(_) { }
    4848    protected StdDevStrategyVectorCrossover(StdDevStrategyVectorCrossover original, Cloner cloner) : base(original, cloner) { }
    4949    public StdDevStrategyVectorCrossover()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030using HeuristicLab.Random;
    3131
     
    3535  /// </summary>
    3636  [Item("StdDevStrategyVectorManipulator", "Mutates the endogenous strategy parameters.")]
    37   [StorableClass]
     37  [StorableType("599385AA-FBA0-4EE2-8B6E-B937C73E5901")]
    3838  public class StdDevStrategyVectorManipulator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterManipulator {
    3939    public override bool CanChangeName {
     
    5757
    5858    [StorableConstructor]
    59     protected StdDevStrategyVectorManipulator(bool deserializing) : base(deserializing) { }
     59    protected StdDevStrategyVectorManipulator(StorableConstructorFlag _) : base(_) { }
    6060    protected StdDevStrategyVectorManipulator(StdDevStrategyVectorManipulator original, Cloner cloner) : base(original, cloner) { }
    6161    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.