Changeset 16565 for trunk/HeuristicLab.Encodings.RealVectorEncoding
- Timestamp:
- 01/28/19 13:41:42 (6 years ago)
- Location:
- trunk
- Files:
-
- 79 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration (added) merged: 16451-16454,16462,16465-16468,16470-16472,16474,16476-16477,16479-16487,16529-16530,16539,16551-16555,16558-16559,16562-16564
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Encodings.RealVectorEncoding
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding (added) merged: 16452-16454,16462,16474,16529,16539,16558-16559
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/BoundsChecker.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 34 34 /// </summary> 35 35 [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 [Storable Class]36 [StorableType("9A3D7E10-6138-4B36-A284-BDDE8ECDBF36")] 37 37 public class BoundsChecker : SingleSuccessorOperator, IRealVectorBoundsChecker { 38 38 public LookupParameter<RealVector> RealVectorParameter { … … 44 44 45 45 [StorableConstructor] 46 protected BoundsChecker( bool deserializing) : base(deserializing) { }46 protected BoundsChecker(StorableConstructorFlag _) : base(_) { } 47 47 protected BoundsChecker(BoundsChecker original, Cloner cloner) : base(original, cloner) { } 48 48 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators/NormalDistributedRealVectorCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.Random; 30 30 … … 34 34 /// </summary> 35 35 [Item("NormalDistributedRealVectorCreator", "An operator which creates a new random real vector with each element normally distributed in a specified range.")] 36 [Storable Class]36 [StorableType("790F7401-DD2A-4910-8632-F737E39CE6EE")] 37 37 public class NormalDistributedRealVectorCreator : RealVectorCreator, IStrategyParameterCreator { 38 38 … … 50 50 51 51 [StorableConstructor] 52 protected NormalDistributedRealVectorCreator( bool deserializing) : base(deserializing) { }52 protected NormalDistributedRealVectorCreator(StorableConstructorFlag _) : base(_) { } 53 53 protected NormalDistributedRealVectorCreator(NormalDistributedRealVectorCreator original, Cloner cloner) : base(original, cloner) { } 54 54 public NormalDistributedRealVectorCreator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators/UniformRandomRealVectorCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Optimization; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 32 32 /// </summary> 33 33 [Item("UniformRandomRealVectorCreator", "An operator which creates a new random real vector with each element uniformly distributed in a specified range.")] 34 [Storable Class]34 [StorableType("DF237BEA-D21B-4A2C-820B-47CCC998D0E1")] 35 35 public class UniformRandomRealVectorCreator : RealVectorCreator, IStrategyParameterCreator { 36 36 [StorableConstructor] 37 protected UniformRandomRealVectorCreator( bool deserializing) : base(deserializing) { }37 protected UniformRandomRealVectorCreator(StorableConstructorFlag _) : base(_) { } 38 38 protected UniformRandomRealVectorCreator(UniformRandomRealVectorCreator original, Cloner cloner) : base(original, cloner) { } 39 39 public UniformRandomRealVectorCreator() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/AverageCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 33 33 /// </remarks> 34 34 [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 [Storable Class]35 [StorableType("D182B4D8-DFB1-467C-B6C8-8A8BC7540304")] 36 36 public class AverageCrossover : RealVectorCrossover { 37 37 [StorableConstructor] 38 protected AverageCrossover( bool deserializing) : base(deserializing) { }38 protected AverageCrossover(StorableConstructorFlag _) : base(_) { } 39 39 protected AverageCrossover(AverageCrossover original, Cloner cloner) : base(original, cloner) { } 40 40 public AverageCrossover() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaBetaCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 40 40 /// </remarks> 41 41 [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 [Storable Class]42 [StorableType("08F92C45-995C-4A05-B86F-0885BCB3F04C")] 43 43 public class BlendAlphaBetaCrossover : RealVectorCrossover, ISingleObjectiveOperator { 44 44 /// <summary> … … 68 68 69 69 [StorableConstructor] 70 protected BlendAlphaBetaCrossover( bool deserializing) : base(deserializing) { }70 protected BlendAlphaBetaCrossover(StorableConstructorFlag _) : base(_) { } 71 71 protected BlendAlphaBetaCrossover(BlendAlphaBetaCrossover original, Cloner cloner) : base(original, cloner) { } 72 72 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 38 38 /// </remarks> 39 39 [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 [Storable Class]40 [StorableType("A56EA6B8-79A2-4762-B651-BEBAB95F8E8E")] 41 41 public class BlendAlphaCrossover : RealVectorCrossover { 42 42 /// <summary> … … 51 51 52 52 [StorableConstructor] 53 protected BlendAlphaCrossover( bool deserializing) : base(deserializing) { }53 protected BlendAlphaCrossover(StorableConstructorFlag _) : base(_) { } 54 54 protected BlendAlphaCrossover(BlendAlphaCrossover original, Cloner cloner) : base(original, cloner) { } 55 55 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/DiscreteCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 35 35 /// </remarks> 36 36 [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 [Storable Class]37 [StorableType("F88C9256-B1C9-43B4-B8EB-FAF2357A0310")] 38 38 public class DiscreteCrossover : RealVectorCrossover { 39 39 [StorableConstructor] 40 protected DiscreteCrossover( bool deserializing) : base(deserializing) { }40 protected DiscreteCrossover(StorableConstructorFlag _) : base(_) { } 41 41 protected DiscreteCrossover(DiscreteCrossover original, Cloner cloner) : base(original, cloner) { } 42 42 public DiscreteCrossover() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/HeuristicCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 37 37 /// </remarks> 38 38 [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 [Storable Class]39 [StorableType("CBD8F372-73EA-4D52-8D35-A3D2D514B96A")] 40 40 public class HeuristicCrossover : RealVectorCrossover, ISingleObjectiveOperator { 41 41 /// <summary> … … 53 53 54 54 [StorableConstructor] 55 protected HeuristicCrossover( bool deserializing) : base(deserializing) { }55 protected HeuristicCrossover(StorableConstructorFlag _) : base(_) { } 56 56 protected HeuristicCrossover(HeuristicCrossover original, Cloner cloner) : base(original, cloner) { } 57 57 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/LocalCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 33 33 /// </remarks> 34 34 [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 [Storable Class]35 [StorableType("FB601681-7738-4380-889F-44A7CFA1D38F")] 36 36 public class LocalCrossover : RealVectorCrossover { 37 37 [StorableConstructor] 38 protected LocalCrossover( bool deserializing) : base(deserializing) { }38 protected LocalCrossover(StorableConstructorFlag _) : base(_) { } 39 39 protected LocalCrossover(LocalCrossover original, Cloner cloner) : base(original, cloner) { } 40 40 public LocalCrossover() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/MultiRealVectorCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 using HeuristicLab.PluginInfrastructure; 33 33 34 34 namespace HeuristicLab.Encodings.RealVectorEncoding { 35 35 [Item("MultiRealVectorCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 36 [Storable Class]36 [StorableType("38437BE4-8B77-4347-A7F8-73D787942944")] 37 37 public class MultiRealVectorCrossover : StochasticMultiBranch<IRealVectorCrossover>, IRealVectorCrossover, IStochasticOperator { 38 38 public override bool CanChangeName { … … 54 54 55 55 [StorableConstructor] 56 protected MultiRealVectorCrossover( bool deserializing) : base(deserializing) { }56 protected MultiRealVectorCrossover(StorableConstructorFlag _) : base(_) { } 57 57 protected MultiRealVectorCrossover(MultiRealVectorCrossover original, Cloner cloner) 58 58 : base(original, cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/RandomConvexCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 33 33 /// </remarks> 34 34 [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 [Storable Class]35 [StorableType("951482B3-BBED-4C8F-BEC4-B26A6B756E72")] 36 36 public class RandomConvexCrossover : RealVectorCrossover { 37 37 [StorableConstructor] 38 protected RandomConvexCrossover( bool deserializing) : base(deserializing) { }38 protected RandomConvexCrossover(StorableConstructorFlag _) : base(_) { } 39 39 protected RandomConvexCrossover(RandomConvexCrossover original, Cloner cloner) : base(original, cloner) { } 40 40 public RandomConvexCrossover() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SimulatedBinaryCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 36 36 /// </remarks> 37 37 [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 [Storable Class]38 [StorableType("0A0686ED-BA7E-41A6-824E-134C4BF36408")] 39 39 public class SimulatedBinaryCrossover : RealVectorCrossover { 40 40 /// <summary> … … 46 46 47 47 [StorableConstructor] 48 protected SimulatedBinaryCrossover( bool deserializing) : base(deserializing) { }48 protected SimulatedBinaryCrossover(StorableConstructorFlag _) : base(_) { } 49 49 protected SimulatedBinaryCrossover(SimulatedBinaryCrossover original, Cloner cloner) : base(original, cloner) { } 50 50 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 35 35 /// </remarks> 36 36 [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 [Storable Class]37 [StorableType("008449CF-6CB0-481D-855A-80DA1F2DFC7E")] 38 38 public class SinglePointCrossover : RealVectorCrossover { 39 39 [StorableConstructor] 40 protected SinglePointCrossover( bool deserializing) : base(deserializing) { }40 protected SinglePointCrossover(StorableConstructorFlag _) : base(_) { } 41 41 protected SinglePointCrossover(SinglePointCrossover original, Cloner cloner) : base(original, cloner) { } 42 42 public SinglePointCrossover() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/UniformAllPositionsArithmeticCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 36 36 /// </remarks> 37 37 [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 [Storable Class]38 [StorableType("F3081373-87F2-43CE-92E3-F4D1A690FF31")] 39 39 public class UniformAllPositionsArithmeticCrossover : RealVectorCrossover { 40 40 /// <summary> … … 46 46 47 47 [StorableConstructor] 48 protected UniformAllPositionsArithmeticCrossover( bool deserializing) : base(deserializing) { }48 protected UniformAllPositionsArithmeticCrossover(StorableConstructorFlag _) : base(_) { } 49 49 protected UniformAllPositionsArithmeticCrossover(UniformAllPositionsArithmeticCrossover original, Cloner cloner) : base(original, cloner) { } 50 50 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/UniformSomePositionsArithmeticCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 36 36 /// </remarks> 37 37 [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 [Storable Class]38 [StorableType("54FF8CE9-72E4-4C39-AF00-F38A548EDDD6")] 39 39 public class UniformSomePositionsArithmeticCrossover : RealVectorCrossover { 40 40 /// <summary> … … 52 52 53 53 [StorableConstructor] 54 protected UniformSomePositionsArithmeticCrossover( bool deserializing) : base(deserializing) { }54 protected UniformSomePositionsArithmeticCrossover(StorableConstructorFlag _) : base(_) { } 55 55 protected UniformSomePositionsArithmeticCrossover(UniformSomePositionsArithmeticCrossover original, Cloner cloner) : base(original, cloner) { } 56 56 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/HeuristicLab.Encodings.RealVectorEncoding-3.3.csproj
r15102 r16565 11 11 <RootNamespace>HeuristicLab.Encodings.RealVectorEncoding</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Encodings.RealVectorEncoding-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <TargetFrameworkProfile> 15 15 </TargetFrameworkProfile> … … 105 105 </PropertyGroup> 106 106 <ItemGroup> 107 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 108 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 109 </Reference> 110 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 111 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre01\lib\netstandard2.0\HEAL.Attic.dll</HintPath> 112 </Reference> 107 113 <Reference Include="System" /> 108 114 <Reference Include="System.Core"> … … 111 117 <Reference Include="System.Data" /> 112 118 <Reference Include="System.Drawing" /> 119 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 120 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 121 </Reference> 113 122 <Reference Include="System.Xml" /> 114 123 </ItemGroup> … … 197 206 <Compile Include="StrategyParameters\StdDevStrategyVectorManipulator.cs" /> 198 207 <None Include="HeuristicLab.snk" /> 208 <None Include="packages.config" /> 199 209 <None Include="Plugin.cs.frame" /> 200 210 <None Include="Properties\AssemblyInfo.cs.frame" /> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IAdditiveRealVectorMoveOperator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Encodings.RealVectorEncoding { 26 [StorableType("e1788907-b2bd-410c-b660-501fbfdf26d2")] 25 27 public interface IAdditiveRealVectorMoveOperator : IRealVectorMoveOperator { 26 28 ILookupParameter<AdditiveMove> AdditiveMoveParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorBoundsChecker.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Parameters; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("05af3346-d753-46aa-ab1c-fa5008611d06")] 27 29 public interface IRealVectorBoundsChecker : IOperator { 28 30 LookupParameter<RealVector> RealVectorParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("6f7d06b2-8e65-473c-b172-e0a011076a79")] 27 29 /// <summary> 28 30 /// An interface which represents an operator for creating vectors of real-valued data. -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("b589675c-e174-4f35-8a37-0967ec119cda")] 27 29 /// <summary> 28 30 /// An interface which represents an operator for crossing vectors of real-valued data. -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("4d5f6fe2-924e-4052-b1c3-32d12b232353")] 27 29 /// <summary> 28 30 /// An interface which represents an operator for manipulating vectors of real-valued data. -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorMoveGenerator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("a8fa1f76-74ce-4b42-bbc6-1b844e9338d9")] 27 29 public interface IRealVectorMoveGenerator : IRealVectorMoveOperator, IMoveGenerator { 28 30 IValueLookupParameter<DoubleMatrix> BoundsParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorMoveOperator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Optimization; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 [StorableType("ebd6c0f9-6be5-4661-ba4c-0522d33aa5c4")] 26 28 public interface IRealVectorMoveOperator : IRealVectorOperator, IMoveOperator { 27 29 ILookupParameter<RealVector> RealVectorParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorMultiNeighborhoodShakingOperator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Data; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 [StorableType("0dee2cb0-6279-4337-bbae-a0ba95d5bbb8")] 26 28 public interface IRealVectorMultiNeighborhoodShakingOperator : IRealVectorOperator { 27 29 ILookupParameter<RealVector> RealVectorParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorOperator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Encodings.RealVectorEncoding { 26 [StorableType("af0ebc2c-280c-4dc4-8f53-e067994e7491")] 25 27 /// <summary> 26 28 /// An interface which represents an operator dealing with vectors of real-valued data. -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorParticleCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("4e4287a4-1bd9-4056-b203-ad97e4c418fb")] 27 29 public interface IRealVectorParticleCreator : IParticleCreator, IRealVectorOperator { 28 30 ILookupParameter<RealVector> RealVectorParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorParticleUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("34b1f071-c5a0-471c-9ee2-cdf0d27c82b3")] 27 29 public interface IRealVectorParticleUpdater : IParticleUpdater, IRealVectorOperator { 28 30 ILookupParameter<RealVector> VelocityParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorStdDevStrategyParameterCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("36856de6-6cb5-4b8b-8a2b-2437fd5f5c28")] 27 29 public interface IRealVectorStdDevStrategyParameterCreator : IRealVectorStdDevStrategyParameterOperator, IStrategyParameterCreator { 28 30 ILookupParameter<RealVector> StrategyParameterParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorStdDevStrategyParameterCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Optimization; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 [StorableType("41e66ad7-37d5-4508-b128-4e4e7c32e362")] 26 28 public interface IRealVectorStdDevStrategyParameterCrossover : IRealVectorStdDevStrategyParameterOperator, IStrategyParameterCrossover { 27 29 ILookupParameter<RealVector> StrategyParameterParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorStdDevStrategyParameterManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [StorableType("a25675fb-a613-4b70-9572-d9d1793b5da3")] 27 29 public interface IRealVectorStdDevStrategyParameterManipulator : IRealVectorStdDevStrategyParameterOperator, IStrategyParameterManipulator { 28 30 ILookupParameter<RealVector> StrategyParameterParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorStdDevStrategyParameterOperator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 using HeuristicLab.Core; 22 using HEAL.Attic; 22 23 23 24 namespace HeuristicLab.Encodings.RealVectorEncoding { 25 [StorableType("57da67bb-c9c6-4cc1-a2eb-6c2ee8cb0363")] 24 26 public interface IRealVectorStdDevStrategyParameterOperator : IOperator { 25 27 } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorSwarmUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Core; 23 using HeuristicLab.Optimization; 23 using HeuristicLab.Optimization; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 [StorableType("d8a15c9c-e2e8-4494-bc0e-97ccad304757")] 26 28 public interface IRealVectorSwarmUpdater : ISwarmUpdater, IRealVectorOperator { 27 29 IScopeTreeLookupParameter<RealVector> NeighborBestParameter { get; } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/BreederGeneticAlgorithmManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 36 36 /// </remarks> 37 37 [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 [Storable Class]38 [StorableType("A9D7E5D6-6326-4C62-9EA0-E50785FDD677")] 39 39 public class BreederGeneticAlgorithmManipulator : RealVectorManipulator { 40 40 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 }; … … 44 44 45 45 [StorableConstructor] 46 protected BreederGeneticAlgorithmManipulator( bool deserializing) : base(deserializing) { }46 protected BreederGeneticAlgorithmManipulator(StorableConstructorFlag _) : base(_) { } 47 47 protected BreederGeneticAlgorithmManipulator(BreederGeneticAlgorithmManipulator original, Cloner cloner) : base(original, cloner) { } 48 48 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/FixedNormalAllPositionsManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Random; 28 28 … … 37 37 /// </remarks> 38 38 [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 [Storable Class]39 [StorableType("DEEF042E-72C8-47D4-A4F8-E6C38FD90CC0")] 40 40 public class FixedNormalAllPositionsManipulator : RealVectorManipulator { 41 41 … … 45 45 46 46 [StorableConstructor] 47 protected FixedNormalAllPositionsManipulator( bool deserializing) : base(deserializing) { }47 protected FixedNormalAllPositionsManipulator(StorableConstructorFlag _) : base(_) { } 48 48 protected FixedNormalAllPositionsManipulator(FixedNormalAllPositionsManipulator original, Cloner cloner) : base(original, cloner) { } 49 49 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformAllPositionsManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 37 37 /// </remarks> 38 38 [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 [Storable Class]39 [StorableType("32DCDE59-7557-48F7-98BB-678C47E98D7C")] 40 40 public class MichalewiczNonUniformAllPositionsManipulator : RealVectorManipulator, IIterationBasedOperator { 41 41 /// <summary> … … 59 59 60 60 [StorableConstructor] 61 protected MichalewiczNonUniformAllPositionsManipulator( bool deserializing) : base(deserializing) { }61 protected MichalewiczNonUniformAllPositionsManipulator(StorableConstructorFlag _) : base(_) { } 62 62 protected MichalewiczNonUniformAllPositionsManipulator(MichalewiczNonUniformAllPositionsManipulator original, Cloner cloner) : base(original, cloner) { } 63 63 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformOnePositionManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 37 37 /// </remarks> 38 38 [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 [Storable Class]39 [StorableType("AD99F9B0-C820-416D-B57D-2287CE2E04D2")] 40 40 public class MichalewiczNonUniformOnePositionManipulator : RealVectorManipulator, IIterationBasedOperator { 41 41 /// <summary> … … 59 59 60 60 [StorableConstructor] 61 protected MichalewiczNonUniformOnePositionManipulator( bool deserializing) : base(deserializing) { }61 protected MichalewiczNonUniformOnePositionManipulator(StorableConstructorFlag _) : base(_) { } 62 62 protected MichalewiczNonUniformOnePositionManipulator(MichalewiczNonUniformOnePositionManipulator original, Cloner cloner) : base(original, cloner) { } 63 63 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MultiRealVectorManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 33 33 namespace HeuristicLab.Encodings.RealVectorEncoding { 34 34 [Item("MultiRealVectorManipulator", "Randomly selects and applies one of its manipulators every time it is called.")] 35 [Storable Class]35 [StorableType("E52D11F1-D746-48F7-AFF2-0E029F651FC5")] 36 36 public class MultiRealVectorManipulator : StochasticMultiBranch<IRealVectorManipulator>, IRealVectorManipulator, IStochasticOperator { 37 37 public override bool CanChangeName { … … 50 50 51 51 [StorableConstructor] 52 protected MultiRealVectorManipulator( bool deserializing) : base(deserializing) { }52 protected MultiRealVectorManipulator(StorableConstructorFlag _) : base(_) { } 53 53 protected MultiRealVectorManipulator(MultiRealVectorManipulator original, Cloner cloner) : base(original, cloner) { } 54 54 public MultiRealVectorManipulator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialAllPositionManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 36 36 /// </remarks> 37 37 [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 [Storable Class]38 [StorableType("C2C54BF4-9DA4-418F-BD85-010EFA220BF4")] 39 39 public class PolynomialAllPositionManipulator : RealVectorManipulator { 40 40 /// <summary> … … 56 56 57 57 [StorableConstructor] 58 protected PolynomialAllPositionManipulator( bool deserializing) : base(deserializing) { }58 protected PolynomialAllPositionManipulator(StorableConstructorFlag _) : base(_) { } 59 59 protected PolynomialAllPositionManipulator(PolynomialAllPositionManipulator original, Cloner cloner) : base(original, cloner) { } 60 60 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialOnePositionManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 35 35 /// </remarks> 36 36 [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 [Storable Class]37 [StorableType("19F0F379-FCE8-43DE-B5B8-D8F2924D0F92")] 38 38 public class PolynomialOnePositionManipulator : RealVectorManipulator { 39 39 /// <summary> … … 55 55 56 56 [StorableConstructor] 57 protected PolynomialOnePositionManipulator( bool deserializing) : base(deserializing) { }57 protected PolynomialOnePositionManipulator(StorableConstructorFlag _) : base(_) { } 58 58 protected PolynomialOnePositionManipulator(PolynomialOnePositionManipulator original, Cloner cloner) : base(original, cloner) { } 59 59 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/SelfAdaptiveNormalAllPositionsManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Random; 29 29 … … 38 38 /// </remarks> 39 39 [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 [Storable Class]40 [StorableType("7F5FC5F4-9F99-4856-AF88-02C67CAF0251")] 41 41 // BackwardsCompatibility3.3 42 42 // Rename class to match file- and itemname when upgrading to 3.4 … … 57 57 58 58 [StorableConstructor] 59 protected NormalAllPositionsManipulator( bool deserializing) : base(deserializing) { }59 protected NormalAllPositionsManipulator(StorableConstructorFlag _) : base(_) { } 60 60 protected NormalAllPositionsManipulator(NormalAllPositionsManipulator original, Cloner cloner) : base(original, cloner) { } 61 61 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/UniformOnePositionManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 34 34 /// </remarks> 35 35 [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 [Storable Class]36 [StorableType("CABE72D6-5CBD-40F5-B541-77CB1A5346E1")] 37 37 public class UniformOnePositionManipulator : RealVectorManipulator { 38 38 [StorableConstructor] 39 protected UniformOnePositionManipulator( bool deserializing) : base(deserializing) { }39 protected UniformOnePositionManipulator(StorableConstructorFlag _) : base(_) { } 40 40 protected UniformOnePositionManipulator(UniformOnePositionManipulator original, Cloner cloner) : base(original, cloner) { } 41 41 public UniformOnePositionManipulator() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMove.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 27 [Item("AdditiveMove", "A move on a real vector that that represents an additive change in one dimension.")] 28 [Storable Class]28 [StorableType("D7E22627-2AB5-44A9-BD4D-9D1C5E45A150")] 29 29 public class AdditiveMove : Item { 30 30 [Storable] … … 36 36 37 37 [StorableConstructor] 38 protected AdditiveMove( bool deserializing) : base(deserializing) { }38 protected AdditiveMove(StorableConstructorFlag _) : base(_) { } 39 39 protected AdditiveMove(AdditiveMove original, Cloner cloner) 40 40 : base(original, cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveGenerator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 [Item("AdditiveMoveGenerator", "Base class for all additive move generators.")] 32 [Storable Class]32 [StorableType("254F20A6-AB7F-4C7D-9EA7-9310FD56743F")] 33 33 public abstract class AdditiveMoveGenerator : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, IMoveGenerator, IStochasticOperator { 34 34 public override bool CanChangeName { … … 52 52 53 53 [StorableConstructor] 54 protected AdditiveMoveGenerator( bool deserializing) : base(deserializing) { }54 protected AdditiveMoveGenerator(StorableConstructorFlag _) : base(_) { } 55 55 protected AdditiveMoveGenerator(AdditiveMoveGenerator original, Cloner cloner) : base(original, cloner) { } 56 56 public AdditiveMoveGenerator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveMaker.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 [Item("AdditiveMoveMaker", "Peforms an additive move on a given real vector and updates the quality.")] 32 [Storable Class]32 [StorableType("DFEC364D-EFF9-456C-A85C-095F454719C8")] 33 33 public class AdditiveMoveMaker : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected AdditiveMoveMaker( bool deserializing) : base(deserializing) { }51 protected AdditiveMoveMaker(StorableConstructorFlag _) : base(_) { } 52 52 protected AdditiveMoveMaker(AdditiveMoveMaker original, Cloner cloner) : base(original, cloner) { } 53 53 public AdditiveMoveMaker() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuAttribute.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 27 [Item("AdditiveMoveTabuAttribute", "Tabu attribute for additive moves.")] 28 [Storable Class]28 [StorableType("F53207BE-01C0-4057-AACE-8DF031C8EBC5")] 29 29 public class AdditiveMoveTabuAttribute : Item { 30 30 [Storable] … … 38 38 39 39 [StorableConstructor] 40 protected AdditiveMoveTabuAttribute( bool deserializing) : base(deserializing) { }40 protected AdditiveMoveTabuAttribute(StorableConstructorFlag _) : base(_) { } 41 41 protected AdditiveMoveTabuAttribute(AdditiveMoveTabuAttribute original, Cloner cloner) 42 42 : base(original, cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuChecker.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Encodings.RealVectorEncoding { 32 32 [Item("AdditiveMoveTabuChecker", "Prevents falling back into ranges that have been moved over before.")] 33 [Storable Class]33 [StorableType("CA7D09FF-C936-474C-A0F8-17D9DBF783C2")] 34 34 public class AdditiveMoveTabuChecker : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, ITabuChecker { 35 35 public override bool CanChangeName { … … 64 64 65 65 [StorableConstructor] 66 protected AdditiveMoveTabuChecker( bool deserializing) : base(deserializing) { }66 protected AdditiveMoveTabuChecker(StorableConstructorFlag _) : base(_) { } 67 67 protected AdditiveMoveTabuChecker(AdditiveMoveTabuChecker original, Cloner cloner) : base(original, cloner) { } 68 68 public AdditiveMoveTabuChecker() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuMaker.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Optimization.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 29 [Item("AdditiveMoveTabuMaker", "Sets the move tabu.")] 30 [Storable Class]30 [StorableType("D495C70E-BE42-4FFB-B0E2-8422B7C8A1E9")] 31 31 public class AdditiveMoveTabuMaker : TabuMaker, IAdditiveRealVectorMoveOperator { 32 32 public ILookupParameter<AdditiveMove> AdditiveMoveParameter { … … 38 38 39 39 [StorableConstructor] 40 protected AdditiveMoveTabuMaker( bool deserializing) : base(deserializing) { }40 protected AdditiveMoveTabuMaker(StorableConstructorFlag _) : base(_) { } 41 41 protected AdditiveMoveTabuMaker(AdditiveMoveTabuMaker original, Cloner cloner) : base(original, cloner) { } 42 42 public AdditiveMoveTabuMaker() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/StochasticNormalMultiMoveGenerator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Random; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 [Item("StochasticNormalMultiMoveGenerator", "Generates normal distributed moves from a given real vector.")] 32 [Storable Class]32 [StorableType("2FCED1E2-2F4F-440A-9402-AA908DF0887B")] 33 33 public class StochasticNormalMultiMoveGenerator : AdditiveMoveGenerator, IMultiMoveGenerator { 34 34 public IValueLookupParameter<DoubleValue> SigmaParameter { … … 40 40 41 41 [StorableConstructor] 42 protected StochasticNormalMultiMoveGenerator( bool deserializing) : base(deserializing) { }42 protected StochasticNormalMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 43 43 protected StochasticNormalMultiMoveGenerator(StochasticNormalMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 44 44 public StochasticNormalMultiMoveGenerator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/StochasticPolynomialMultiMoveGenerator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { 30 30 [Item("StochasticPolynomialMultiMoveGenerator", "Generates polynomial moves from a given real vector.")] 31 [Storable Class]31 [StorableType("94B0F4BE-E2CE-4521-8351-AAA21611D589")] 32 32 public class StochasticPolynomialMultiMoveGenerator : AdditiveMoveGenerator, IMultiMoveGenerator { 33 33 /// <summary> … … 49 49 50 50 [StorableConstructor] 51 protected StochasticPolynomialMultiMoveGenerator( bool deserializing) : base(deserializing) { }51 protected StochasticPolynomialMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 52 52 protected StochasticPolynomialMultiMoveGenerator(StochasticPolynomialMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 53 53 public StochasticPolynomialMultiMoveGenerator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorNeighborhoodParticleUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 using HeuristicLab.PluginInfrastructure; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 29 [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 [Storable Class]30 [StorableType("D30B72C0-247D-466C-B677-0C99DBFEB2E4")] 31 31 [NonDiscoverableType] 32 32 [Obsolete("Use SPSO2011ParticleUpdater")] … … 35 35 #region Construction & Cloning 36 36 [StorableConstructor] 37 private RealVectorNeighborhoodParticleUpdater( bool deserializing) : base(deserializing) { }37 private RealVectorNeighborhoodParticleUpdater(StorableConstructorFlag _) : base(_) { } 38 38 private RealVectorNeighborhoodParticleUpdater(RealVectorNeighborhoodParticleUpdater original, Cloner cloner) : base(original, cloner) { } 39 39 public RealVectorNeighborhoodParticleUpdater() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Encodings.RealVectorEncoding { 33 33 [Item("RealVectorParticleCreator", "Creates a particle with position, zero velocity vector and personal best.")] 34 [Storable Class]34 [StorableType("C2C2600B-BB18-4A97-960C-74C9303D2A33")] 35 35 [NonDiscoverableType] 36 36 [Obsolete("Use SPSOParticleCreator")] … … 69 69 #region Construction & Cloning 70 70 [StorableConstructor] 71 protected RealVectorParticleCreator( bool deserializing) : base(deserializing) { }71 protected RealVectorParticleCreator(StorableConstructorFlag _) : base(_) { } 72 72 protected RealVectorParticleCreator(RealVectorParticleCreator original, Cloner cloner) : base(original, cloner) { } 73 73 public RealVectorParticleCreator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.PluginInfrastructure; 30 30 … … 32 32 33 33 [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 [Storable Class]34 [StorableType("1396AC75-4875-4A0F-B6C9-640047078E6E")] 35 35 [NonDiscoverableType] 36 36 [Obsolete("Use SPSO2011ParticleUpdater")] … … 120 120 #region Construction & Cloning 121 121 [StorableConstructor] 122 protected RealVectorParticleUpdater( bool deserializing) : base(deserializing) { }122 protected RealVectorParticleUpdater(StorableConstructorFlag _) : base(_) { } 123 123 protected RealVectorParticleUpdater(RealVectorParticleUpdater original, Cloner cloner) : base(original, cloner) { } 124 124 public RealVectorParticleUpdater() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Optimization.Operators; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 using HeuristicLab.PluginInfrastructure; 33 33 34 34 namespace HeuristicLab.Encodings.RealVectorEncoding { 35 35 [Item("RealVectorSwarmUpdater", "Updates personal best point and quality as well as global best point and quality.")] 36 [Storable Class]36 [StorableType("190172D5-090F-49DA-B2FB-AD2DF8064F77")] 37 37 [NonDiscoverableType] 38 38 [Obsolete("Use SPSOSwarmUpdater")] … … 176 176 177 177 [StorableConstructor] 178 private RealVectorSwarmUpdater( bool deserializing) : base(deserializing) { }178 private RealVectorSwarmUpdater(StorableConstructorFlag _) : base(_) { } 179 179 private RealVectorSwarmUpdater(RealVectorSwarmUpdater original, Cloner cloner) 180 180 : base(original, cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorTotallyConnectedParticleUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 using HeuristicLab.PluginInfrastructure; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 29 [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 [Storable Class]30 [StorableType("39FC0C08-AE80-4FA1-8C04-F54DE266C19E")] 31 31 [NonDiscoverableType] 32 32 [Obsolete("Use SPSO2011ParticleUpdater")] … … 35 35 #region Construction & Cloning 36 36 [StorableConstructor] 37 private RealVectorTotallyConnectedParticleUpdater( bool deserializing) : base(deserializing) { }37 private RealVectorTotallyConnectedParticleUpdater(StorableConstructorFlag _) : base(_) { } 38 38 private RealVectorTotallyConnectedParticleUpdater(RealVectorTotallyConnectedParticleUpdater original, Cloner cloner) : base(original, cloner) { } 39 39 public RealVectorTotallyConnectedParticleUpdater() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2007ParticleUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HEAL.Attic; 28 27 29 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 30 29 [Item("SPSO 2007 Particle Updater", "Updates the particle's position according to the formulae described in SPSO 2007.")] 31 [Storable Class]30 [StorableType("60C34D7A-CA73-432C-9EB1-05E503D8D2DD")] 32 31 public sealed class SPSO2007ParticleUpdater : SPSOParticleUpdater { 33 32 34 33 #region Construction & Cloning 35 34 [StorableConstructor] 36 private SPSO2007ParticleUpdater( bool deserializing) : base(deserializing) { }35 private SPSO2007ParticleUpdater(StorableConstructorFlag _) : base(_) { } 37 36 private SPSO2007ParticleUpdater(SPSO2007ParticleUpdater original, Cloner cloner) : base(original, cloner) { } 38 37 public SPSO2007ParticleUpdater() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2007VelocityInitializer.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 27 [Item("Velocity Initializer (SPSO 2007)", "Initializes the velocity vector.")] 28 [Storable Class]28 [StorableType("40B46512-D94E-45E5-ABE5-6D9AA5B7D13A")] 29 29 public class SPSO2007VelocityInitializer : SPSOVelocityInitializer { 30 30 31 31 #region Construction & Cloning 32 32 [StorableConstructor] 33 protected SPSO2007VelocityInitializer( bool deserializing) : base(deserializing) { }33 protected SPSO2007VelocityInitializer(StorableConstructorFlag _) : base(_) { } 34 34 protected SPSO2007VelocityInitializer(SPSO2007VelocityInitializer original, Cloner cloner) : base(original, cloner) { } 35 35 public SPSO2007VelocityInitializer() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2011ParticleUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Random; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { 30 30 [Item("SPSO 2011 Particle Updater", "Updates the particle's position according to the formulae described in SPSO 2011.")] 31 [Storable Class]31 [StorableType("C680E305-159C-4A76-83E5-53982B583F9B")] 32 32 public sealed class SPSO2011ParticleUpdater : SPSOParticleUpdater { 33 33 #region Construction & Cloning 34 34 [StorableConstructor] 35 private SPSO2011ParticleUpdater( bool deserializing) : base(deserializing) { }35 private SPSO2011ParticleUpdater(StorableConstructorFlag _) : base(_) { } 36 36 private SPSO2011ParticleUpdater(SPSO2011ParticleUpdater original, Cloner cloner) : base(original, cloner) { } 37 37 public SPSO2011ParticleUpdater() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSO2011VelocityInitializer.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 27 [Item("Velocity Initializer (SPSO 2011)", "Initializes the velocity vector.")] 28 [Storable Class]28 [StorableType("E844F8B9-068B-433D-8693-9416CA9140FB")] 29 29 public class SPSO2011VelocityInitializer : SPSOVelocityInitializer { 30 30 31 31 #region Construction & Cloning 32 32 [StorableConstructor] 33 protected SPSO2011VelocityInitializer( bool deserializing) : base(deserializing) { }33 protected SPSO2011VelocityInitializer(StorableConstructorFlag _) : base(_) { } 34 34 protected SPSO2011VelocityInitializer(SPSO2011VelocityInitializer original, Cloner cloner) : base(original, cloner) { } 35 35 public SPSO2011VelocityInitializer() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOParticleCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 [Item("Particle Creator (SPSO)", "Creates a particle with position, velocity vector and personal best.")] 32 [Storable Class]32 [StorableType("A2BB1DB9-7E4A-4DEA-B469-612F26645E0B")] 33 33 public class SPSOParticleCreator : AlgorithmOperator, IRealVectorParticleCreator, IStochasticOperator { 34 34 … … 59 59 #region Construction & Cloning 60 60 [StorableConstructor] 61 protected SPSOParticleCreator( bool deserializing) : base(deserializing) { }61 protected SPSOParticleCreator(StorableConstructorFlag _) : base(_) { } 62 62 protected SPSOParticleCreator(SPSOParticleCreator original, Cloner cloner) : base(original, cloner) { } 63 63 public SPSOParticleCreator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOParticleUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 32 32 [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 [Storable Class]33 [StorableType("D29959F9-476B-47E3-8426-B358C9C07E01")] 34 34 public abstract class SPSOParticleUpdater : SingleSuccessorOperator, IRealVectorParticleUpdater { 35 35 … … 75 75 #region Construction & Cloning 76 76 [StorableConstructor] 77 protected SPSOParticleUpdater( bool deserializing) : base(deserializing) { }77 protected SPSOParticleUpdater(StorableConstructorFlag _) : base(_) { } 78 78 protected SPSOParticleUpdater(SPSOParticleUpdater original, Cloner cloner) : base(original, cloner) { } 79 79 public SPSOParticleUpdater() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOSwarmUpdater.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 30 30 using HeuristicLab.Optimization.Operators; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Attic; 33 33 using HeuristicLab.PluginInfrastructure; 34 34 35 35 namespace HeuristicLab.Encodings.RealVectorEncoding { 36 36 [Item("Swarm Updater (SPSO)", "Updates personal best point and quality as well as neighbor best point and quality.")] 37 [Storable Class]37 [StorableType("B8244196-9DB9-477C-A0A1-C1EB5BF4E1C1")] 38 38 public sealed class SPSOSwarmUpdater : SingleSuccessorOperator, IRealVectorSwarmUpdater, ISingleObjectiveOperator { 39 39 … … 109 109 110 110 [StorableConstructor] 111 private SPSOSwarmUpdater( bool deserializing) : base(deserializing) { }111 private SPSOSwarmUpdater(StorableConstructorFlag _) : base(_) { } 112 112 private SPSOSwarmUpdater(SPSOSwarmUpdater original, Cloner cloner) 113 113 : base(original, cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOVelocityInitializer.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 [Item("Velocity Initializer (SPSO)", "Initializes the velocity vector.")] 32 [Storable Class]32 [StorableType("BB130DA2-221C-4C56-BF8D-9492BFA8E3C2")] 33 33 public abstract class SPSOVelocityInitializer : SingleSuccessorOperator, IStochasticOperator { 34 34 #region Parameters … … 49 49 #region Construction & Cloning 50 50 [StorableConstructor] 51 protected SPSOVelocityInitializer( bool deserializing) : base(deserializing) { }51 protected SPSOVelocityInitializer(StorableConstructorFlag _) : base(_) { } 52 52 protected SPSOVelocityInitializer(SPSOVelocityInitializer original, Cloner cloner) : base(original, cloner) { } 53 53 protected SPSOVelocityInitializer() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Plugin.cs.frame
r15589 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/Properties/AssemblyInfo.cs.frame
r15589 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVector.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 [Storable Class]29 [StorableType("C4213FB3-77C3-4814-A7A3-0151B0FF5270")] 30 30 [Item("RealVector", "Represents a vector of real values.")] 31 31 public class RealVector : DoubleArray { 32 32 [StorableConstructor] 33 protected RealVector( bool deserializing) : base(deserializing) { }33 protected RealVector(StorableConstructorFlag _) : base(_) { } 34 34 protected RealVector(RealVector original, Cloner cloner) : base(original, cloner) { } 35 35 public RealVector() : base() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 33 33 /// </summary> 34 34 [Item("RealVectorCreator", "A base class for operators creating real-valued vectors.")] 35 [Storable Class]35 [StorableType("C6A3C750-7BAF-4BE7-91CC-D8290F3B006E")] 36 36 public abstract class RealVectorCreator : InstrumentedOperator, IRealVectorCreator, IStochasticOperator { 37 37 public override bool CanChangeName { … … 53 53 54 54 [StorableConstructor] 55 protected RealVectorCreator( bool deserializing) : base(deserializing) { }55 protected RealVectorCreator(StorableConstructorFlag _) : base(_) { } 56 56 protected RealVectorCreator(RealVectorCreator original, Cloner cloner) : base(original, cloner) { } 57 57 protected RealVectorCreator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 34 34 /// </summary> 35 35 [Item("RealVectorCrossover", "A base class for operators that perform a crossover of real-valued vectors.")] 36 [Storable Class]36 [StorableType("4E51D1FF-056B-4A4D-8D90-3EB640EAF44A")] 37 37 public abstract class RealVectorCrossover : InstrumentedOperator, IRealVectorCrossover, IStochasticOperator { 38 38 public override bool CanChangeName { … … 61 61 62 62 [StorableConstructor] 63 protected RealVectorCrossover( bool deserializing) : base(deserializing) { }63 protected RealVectorCrossover(StorableConstructorFlag _) : base(_) { } 64 64 protected RealVectorCrossover(RealVectorCrossover original, Cloner cloner) 65 65 : base(original, cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEncoding.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 using HeuristicLab.PluginInfrastructure; 32 32 33 33 namespace HeuristicLab.Encodings.RealVectorEncoding { 34 34 [Item("RealVectorEncoding", "Describes a real vector encoding.")] 35 [Storable Class]35 [StorableType("155FFE02-931F-457D-AC95-A0389B0BFECD")] 36 36 public sealed class RealVectorEncoding : Encoding<IRealVectorCreator> { 37 37 #region Encoding Parameters … … 77 77 78 78 [StorableConstructor] 79 private RealVectorEncoding( bool deserializing) : base(deserializing) { }79 private RealVectorEncoding(StorableConstructorFlag _) : base(_) { } 80 80 [StorableHook(HookType.AfterDeserialization)] 81 81 private void AfterDeserialization() { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEqualityComparer.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.PluginInfrastructure; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 28 [NonDiscoverableType] 29 [StorableType("076cab74-4cf1-4624-b8fa-8a526345eca3")] 28 30 public class RealVectorEqualityComparer : EqualityComparer<RealVector> { 29 31 public override bool Equals(RealVector x, RealVector y) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 34 34 /// </summary> 35 35 [Item("RealVectorManipulator", "A base class for operators that manipulate real-valued vectors.")] 36 [Storable Class]36 [StorableType("E1C6331C-E650-4160-8C54-407DE0253277")] 37 37 public abstract class RealVectorManipulator : InstrumentedOperator, IRealVectorManipulator, IStochasticOperator { 38 38 public override bool CanChangeName { … … 58 58 59 59 [StorableConstructor] 60 protected RealVectorManipulator( bool deserializing) : base(deserializing) { }60 protected RealVectorManipulator(StorableConstructorFlag _) : base(_) { } 61 61 protected RealVectorManipulator(RealVectorManipulator original, Cloner cloner) 62 62 : base(original, cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ReflectiveBoundsChecker.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { … … 34 34 /// </summary> 35 35 [Item("ReflectiveBoundsChecker", "Checks if all elements of a real vector are inside the bounds. If not, elements are mirrored at the bounds.")] 36 [Storable Class]36 [StorableType("9F043D1C-1F6F-4E53-95F5-ECDBD7C7FF90")] 37 37 public class ReflectiveBoundsChecker : SingleSuccessorOperator, IRealVectorBoundsChecker { 38 38 public LookupParameter<RealVector> RealVectorParameter { … … 44 44 45 45 [StorableConstructor] 46 protected ReflectiveBoundsChecker( bool deserializing) : base(deserializing) { }46 protected ReflectiveBoundsChecker(StorableConstructorFlag _) : base(_) { } 47 47 protected ReflectiveBoundsChecker(ReflectiveBoundsChecker original, Cloner cloner) : base(original, cloner) { } 48 48 /// <summary> -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/ShakingOperators/RealVectorShakingOperator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Optimization.Operators; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 using HeuristicLab.PluginInfrastructure; 33 33 … … 37 37 /// </summary> 38 38 [Item("RealVectorShakingOperator", "A shaking operator for VNS which uses available manipulation operators to perform the shaking.")] 39 [Storable Class]39 [StorableType("EDA38073-1563-488D-80A0-67FBDFE8B460")] 40 40 public class RealVectorShakingOperator : ShakingOperator<IRealVectorManipulator>, IRealVectorMultiNeighborhoodShakingOperator, IStochasticOperator { 41 41 … … 54 54 55 55 [StorableConstructor] 56 protected RealVectorShakingOperator( bool deserializing) : base(deserializing) { }56 protected RealVectorShakingOperator(StorableConstructorFlag _) : base(_) { } 57 57 protected RealVectorShakingOperator(RealVectorShakingOperator original, Cloner cloner) : base(original, cloner) { } 58 58 public override IDeepCloneable Clone(Cloner cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/SimilarityCalculators/EuclideanSimilarityCalculator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization.Operators; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 29 [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 [Storable Class]30 [StorableType("535B4987-9EB4-48AB-8189-FA5100F01ADF")] 31 31 public sealed class EuclideanSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 32 32 protected override bool IsCommutative { … … 47 47 48 48 [StorableConstructor] 49 private EuclideanSimilarityCalculator( bool deserializing) : base(deserializing) { }49 private EuclideanSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 50 50 private EuclideanSimilarityCalculator(EuclideanSimilarityCalculator original, Cloner cloner) 51 51 : base(original, cloner) { -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/SimilarityCalculators/HammingSimilarityCalculator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization.Operators; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 29 [Item("Hamming Similarity Calculator for RealVector", "Calculates the solution similarity based on the Hamming distance between two real vectors.")] 30 [Storable Class]30 [StorableType("D3E14606-0E63-4DF6-BF05-AADF5AA37E44")] 31 31 public sealed class HammingSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 32 32 protected override bool IsCommutative { … … 35 35 36 36 [StorableConstructor] 37 private HammingSimilarityCalculator( bool deserializing) : base(deserializing) { }37 private HammingSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 38 38 private HammingSimilarityCalculator(HammingSimilarityCalculator original, Cloner cloner) : base(original, cloner) { } 39 39 public HammingSimilarityCalculator() { } -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCreator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 [Item("StdDevStrategyVectorCreator", "Creates the endogeneous strategy parameters.")] 32 [Storable Class]32 [StorableType("5AF56BE4-3080-431D-AD5A-811F50376953")] 33 33 public class StdDevStrategyVectorCreator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterCreator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected StdDevStrategyVectorCreator( bool deserializing) : base(deserializing) { }51 protected StdDevStrategyVectorCreator(StorableConstructorFlag _) : base(_) { } 52 52 protected StdDevStrategyVectorCreator(StdDevStrategyVectorCreator original, Cloner cloner) : base(original, cloner) { } 53 53 public StdDevStrategyVectorCreator() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { 30 30 [Item("StdDevStrategyVectorCrossover", "Crosses the strategy vector by using intermediate recombination (average crossover).")] 31 [Storable Class]31 [StorableType("3CCF8FC5-6D6E-4E3E-AD8B-E23B869B97FC")] 32 32 public class StdDevStrategyVectorCrossover : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterCrossover { 33 33 public override bool CanChangeName { … … 45 45 46 46 [StorableConstructor] 47 protected StdDevStrategyVectorCrossover( bool deserializing) : base(deserializing) { }47 protected StdDevStrategyVectorCrossover(StorableConstructorFlag _) : base(_) { } 48 48 protected StdDevStrategyVectorCrossover(StdDevStrategyVectorCrossover original, Cloner cloner) : base(original, cloner) { } 49 49 public StdDevStrategyVectorCrossover() -
trunk/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs
r15583 r16565 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Random; 31 31 … … 35 35 /// </summary> 36 36 [Item("StdDevStrategyVectorManipulator", "Mutates the endogenous strategy parameters.")] 37 [Storable Class]37 [StorableType("599385AA-FBA0-4EE2-8B6E-B937C73E5901")] 38 38 public class StdDevStrategyVectorManipulator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterManipulator { 39 39 public override bool CanChangeName { … … 57 57 58 58 [StorableConstructor] 59 protected StdDevStrategyVectorManipulator( bool deserializing) : base(deserializing) { }59 protected StdDevStrategyVectorManipulator(StorableConstructorFlag _) : base(_) { } 60 60 protected StdDevStrategyVectorManipulator(StdDevStrategyVectorManipulator original, Cloner cloner) : base(original, cloner) { } 61 61 /// <summary>
Note: See TracChangeset
for help on using the changeset viewer.