- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3
- Files:
-
- 48 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/BoundsChecker.cs
r14185 r14927 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("420fe2a3-35e2-4a10-a0f3-8e6661eff21f")] 37 37 public class BoundsChecker : SingleSuccessorOperator, IRealVectorBoundsChecker { 38 38 public LookupParameter<RealVector> RealVectorParameter { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators/NormalDistributedRealVectorCreator.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("8ea14f03-acb3-4993-98d0-289a4b67ddd6")] 37 37 public class NormalDistributedRealVectorCreator : RealVectorCreator, IStrategyParameterCreator { 38 38 -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators/UniformRandomRealVectorCreator.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Optimization; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("535ddbae-9e5e-4b35-9b2e-6719766d721a")] 35 35 public class UniformRandomRealVectorCreator : RealVectorCreator, IStrategyParameterCreator { 36 36 [StorableConstructor] … … 42 42 return new UniformRandomRealVectorCreator(this, cloner); 43 43 } 44 44 45 45 /// <summary> 46 46 /// Generates a new random real vector with the given <paramref name="length"/> and in the interval [min,max). -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/AverageCrossover.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 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("61dc5c88-d9c3-42c9-8232-38c9e5af09fe")] 36 36 public class AverageCrossover : RealVectorCrossover { 37 37 [StorableConstructor] … … 43 43 return new AverageCrossover(this, cloner); 44 44 } 45 45 46 46 /// <summary> 47 47 /// Performs the average crossover (intermediate recombination) on a list of parents. … … 66 66 result[i] = avg / (double)parentsCount; 67 67 } 68 } 69 catch (IndexOutOfRangeException) { 68 } catch (IndexOutOfRangeException) { 70 69 throw new ArgumentException("AverageCrossover: The parents' vectors are of different length.", "parents"); 71 70 } -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaBetaCrossover.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("9bf6736e-2e38-49ee-a154-87d8f0b2cd7c")] 43 43 public class BlendAlphaBetaCrossover : RealVectorCrossover, ISingleObjectiveOperator { 44 44 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaCrossover.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("3a396378-c7ff-4f3b-bea1-4d29d7100bb0")] 41 41 public class BlendAlphaCrossover : RealVectorCrossover { 42 42 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/DiscreteCrossover.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 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("455868ff-d615-409d-8b42-1134934ac6db")] 38 38 public class DiscreteCrossover : RealVectorCrossover { 39 39 [StorableConstructor] … … 45 45 return new DiscreteCrossover(this, cloner); 46 46 } 47 47 48 48 /// <summary> 49 49 /// Performs a discrete crossover operation on multiple parents. -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/HeuristicCrossover.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("2fbe64ff-f4fe-4668-99a5-a0af853f69e7")] 40 40 public class HeuristicCrossover : RealVectorCrossover, ISingleObjectiveOperator { 41 41 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/LocalCrossover.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 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("263eb3c9-5288-47d4-814f-ca9de5356887")] 36 36 public class LocalCrossover : RealVectorCrossover { 37 37 [StorableConstructor] … … 43 43 return new LocalCrossover(this, cloner); 44 44 } 45 45 46 46 /// <summary> 47 47 /// Performs a local crossover on the two given parent vectors. -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/MultiRealVectorCrossover.cs
r14185 r14927 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;31 using HeuristicLab.Persistence; 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("f1b6b83e-6980-46d5-b0ef-539b0f04a51e")] 37 37 public class MultiRealVectorCrossover : StochasticMultiBranch<IRealVectorCrossover>, IRealVectorCrossover, IStochasticOperator { 38 38 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/RandomConvexCrossover.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 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("6742955d-1e35-4210-b74b-c1b31f0c02a0")] 36 36 public class RandomConvexCrossover : RealVectorCrossover { 37 37 [StorableConstructor] … … 43 43 return new RandomConvexCrossover(this, cloner); 44 44 } 45 45 46 46 /// <summary> 47 47 /// Performs a random convex crossover on the two given parents. -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SimulatedBinaryCrossover.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("1ed2ad31-7d33-481a-95bd-0cdbf7cd22c8")] 39 39 public class SimulatedBinaryCrossover : RealVectorCrossover { 40 40 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 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("92055f8b-3b1e-4e61-bcdf-212964dbd3fd")] 38 38 public class SinglePointCrossover : RealVectorCrossover { 39 39 [StorableConstructor] … … 45 45 return new SinglePointCrossover(this, cloner); 46 46 } 47 47 48 48 /// <summary> 49 49 /// Performs the single point crossover for real vectors. The implementation is similar to the single point crossover for binary vectors. -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/UniformAllPositionsArithmeticCrossover.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("51c7c3c0-2d86-4523-ab3d-705e74a43486")] 39 39 public class UniformAllPositionsArithmeticCrossover : RealVectorCrossover { 40 40 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/UniformSomePositionsArithmeticCrossover.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("76030d4b-a514-435d-abc2-0feb530a2b74")] 39 39 public class UniformSomePositionsArithmeticCrossover : RealVectorCrossover { 40 40 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/BreederGeneticAlgorithmManipulator.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("32d8d886-4c2e-4436-b7c0-1634fbedb8b7")] 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 }; -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/FixedNormalAllPositionsManipulator.cs
r14185 r14927 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Parameters; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 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("18e04cae-195f-4386-9047-b868a410d7ef")] 40 40 public class FixedNormalAllPositionsManipulator : RealVectorManipulator { 41 41 -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformAllPositionsManipulator.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("1a60bee9-e063-4d70-b6d0-a49f8715603e")] 40 40 public class MichalewiczNonUniformAllPositionsManipulator : RealVectorManipulator, IIterationBasedOperator { 41 41 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformOnePositionManipulator.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("b129b3ed-bcc2-4baa-87a6-26f9de2e675e")] 40 40 public class MichalewiczNonUniformOnePositionManipulator : RealVectorManipulator, IIterationBasedOperator { 41 41 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MultiRealVectorManipulator.cs
r14185 r14927 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;31 using HeuristicLab.Persistence; 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("3ba0e674-ab16-4d16-b9f6-018dc8ac8f2e")] 36 36 public class MultiRealVectorManipulator : StochasticMultiBranch<IRealVectorManipulator>, IRealVectorManipulator, IStochasticOperator { 37 37 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialAllPositionManipulator.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("8ff8cb89-8cdd-4090-995a-1a0c5a493be3")] 39 39 public class PolynomialAllPositionManipulator : RealVectorManipulator { 40 40 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialOnePositionManipulator.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("37effb78-1922-43c2-82fc-8bf494e95db9")] 38 38 public class PolynomialOnePositionManipulator : RealVectorManipulator { 39 39 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/SelfAdaptiveNormalAllPositionsManipulator.cs
r14185 r14927 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("b753cbc8-cb62-4ccb-8266-9818649598f6")] 41 41 // BackwardsCompatibility3.3 42 42 // Rename class to match file- and itemname when upgrading to 3.4 -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/UniformOnePositionManipulator.cs
r14185 r14927 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 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("e26732fc-4609-42e3-8d21-fd7a25ea6dff")] 37 37 public class UniformOnePositionManipulator : RealVectorManipulator { 38 38 [StorableConstructor] … … 44 44 return new UniformOnePositionManipulator(this, cloner); 45 45 } 46 46 47 47 /// <summary> 48 48 /// Changes randomly a single position in the given real <paramref name="vector"/>. -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMove.cs
r14185 r14927 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;24 using HeuristicLab.Persistence; 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("dc56dcbb-30fe-434b-89ce-7211242491bb")] 29 29 public class AdditiveMove : Item { 30 30 [Storable] -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveGenerator.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 [Item("AdditiveMoveGenerator", "Base class for all additive move generators.")] 32 [Storable Class]32 [StorableType("2141aff7-56f6-486c-b236-50e4cb7fb43f")] 33 33 public abstract class AdditiveMoveGenerator : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, IMoveGenerator, IStochasticOperator { 34 34 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveMaker.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("f3783e74-7f08-46bc-abd0-15d5c9ca2076")] 33 33 public class AdditiveMoveMaker : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuAttribute.cs
r14185 r14927 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;24 using HeuristicLab.Persistence; 25 25 26 26 namespace HeuristicLab.Encodings.RealVectorEncoding { 27 27 [Item("AdditiveMoveTabuAttribute", "Tabu attribute for additive moves.")] 28 [Storable Class]28 [StorableType("bf5cee26-ec5a-4c8e-82ca-55d392b84914")] 29 29 public class AdditiveMoveTabuAttribute : Item { 30 30 [Storable] -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuChecker.cs
r14185 r14927 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 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("e784151a-23ab-4b42-a595-7f2168839972")] 34 34 public class AdditiveMoveTabuChecker : SingleSuccessorOperator, IAdditiveRealVectorMoveOperator, ITabuChecker { 35 35 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/AdditiveMoveTabuMaker.cs
r14185 r14927 24 24 using HeuristicLab.Optimization.Operators; 25 25 using HeuristicLab.Parameters; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Encodings.RealVectorEncoding { 29 29 [Item("AdditiveMoveTabuMaker", "Sets the move tabu.")] 30 [Storable Class]30 [StorableType("ecc29b58-892b-428f-bfbd-9ff5a9ed7a29")] 31 31 public class AdditiveMoveTabuMaker : TabuMaker, IAdditiveRealVectorMoveOperator { 32 32 public ILookupParameter<AdditiveMove> AdditiveMoveParameter { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/StochasticNormalMultiMoveGenerator.cs
r14185 r14927 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("30d3c2ac-5fef-456a-ab1e-3b9024372c43")] 33 33 public class StochasticNormalMultiMoveGenerator : AdditiveMoveGenerator, IMultiMoveGenerator { 34 34 public IValueLookupParameter<DoubleValue> SigmaParameter { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Moves/StochasticPolynomialMultiMoveGenerator.cs
r14185 r14927 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("c5c33ecf-ac9b-4bf5-bb62-64166ab439cb")] 32 32 public class StochasticPolynomialMultiMoveGenerator : AdditiveMoveGenerator, IMultiMoveGenerator { 33 33 /// <summary> -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorNeighborhoodParticleUpdater.cs
r14185 r14927 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Optimization; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 28 [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.")] 29 [Storable Class]29 [StorableType("a6b961b9-9f1f-4c12-a655-2c51ee770bf7")] 30 30 public sealed class RealVectorNeighborhoodParticleUpdater : RealVectorParticleUpdater, ILocalParticleUpdater { 31 31 -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleCreator.cs
r14185 r14927 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Encodings.RealVectorEncoding { 30 30 [Item("RealVectorParticleCreator", "Creates a particle with position, zero velocity vector and personal best.")] 31 [Storable Class]31 [StorableType("160826b9-c1ce-43de-8aef-66fe52475555")] 32 32 public class RealVectorParticleCreator : AlgorithmOperator, IRealVectorParticleCreator { 33 33 -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleUpdater.cs
r14185 r14927 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 32 32 [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.")] 33 [Storable Class]33 [StorableType("49ac65a4-bfff-4538-94d5-e60a99897faa")] 34 34 public abstract class RealVectorParticleUpdater : SingleSuccessorOperator, IRealVectorParticleUpdater { 35 35 -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs
r14185 r14927 29 29 using HeuristicLab.Optimization.Operators; 30 30 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;31 using HeuristicLab.Persistence; 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("c4fdf472-68f2-492c-af0d-80aa154be646")] 37 37 public sealed class RealVectorSwarmUpdater : SingleSuccessorOperator, IRealVectorSwarmUpdater, ISingleObjectiveOperator { 38 38 … … 327 327 if (VelocityBoundsScalingOperator == null) 328 328 return new OperationCollection() { 329 ExecutionContext.CreateChildOperation(ResultsCollector), 329 ExecutionContext.CreateChildOperation(ResultsCollector), 330 330 base.Apply() 331 331 }; … … 347 347 return new OperationCollection() { 348 348 ExecutionContext.CreateChildOperation(ResultsCollector), 349 ExecutionContext.CreateChildOperation(VelocityBoundsScalingOperator), 349 ExecutionContext.CreateChildOperation(VelocityBoundsScalingOperator), 350 350 base.Apply() 351 351 }; -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorTotallyConnectedParticleUpdater.cs
r14185 r14927 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Optimization; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 28 [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")] 29 [Storable Class]29 [StorableType("f8f4eb37-159f-4cd6-9699-eb5939430d59")] 30 30 public sealed class RealVectorTotallyConnectedParticleUpdater : RealVectorParticleUpdater, IGlobalParticleUpdater { 31 31 -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVector.cs
r14185 r14927 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Encodings.RealVectorEncoding { 28 [Storable Class]28 [StorableType("f970fc7a-2a9d-4ea8-af69-bde6dce8fac6")] 29 29 [Item("RealVector", "Represents a vector of real values.")] 30 30 public class RealVector : DoubleArray { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCreator.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("4f95698d-c7cc-488b-98a1-55fcb9c81231")] 36 36 public abstract class RealVectorCreator : InstrumentedOperator, IRealVectorCreator, IStochasticOperator { 37 37 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCrossover.cs
r14185 r14927 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 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("b8ede929-77f5-4b63-af43-b2f607546481")] 37 37 public abstract class RealVectorCrossover : InstrumentedOperator, IRealVectorCrossover, IStochasticOperator { 38 38 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEncoding.cs
r14185 r14927 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;30 using HeuristicLab.Persistence; 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("3a152f2e-9a4f-4912-962d-6253627ac134")] 36 36 public sealed class RealVectorEncoding : Encoding<IRealVectorCreator> { 37 37 #region Encoding Parameters -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorManipulator.cs
r14185 r14927 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 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("220cfdb3-21eb-48c6-b2aa-6d5dd6ce6d0b")] 37 37 public abstract class RealVectorManipulator : InstrumentedOperator, IRealVectorManipulator, IStochasticOperator { 38 38 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ReflectiveBoundsChecker.cs
r14185 r14927 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 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("1fc8c7b3-7bdf-4214-9d5c-77b4f064c82f")] 37 37 public class ReflectiveBoundsChecker : SingleSuccessorOperator, IRealVectorBoundsChecker { 38 38 public LookupParameter<RealVector> RealVectorParameter { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/ShakingOperators/RealVectorShakingOperator.cs
r14185 r14927 29 29 using HeuristicLab.Optimization.Operators; 30 30 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;31 using HeuristicLab.Persistence; 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("c7630f0f-646b-4485-aa82-9df613adccd9")] 40 40 public class RealVectorShakingOperator : ShakingOperator<IRealVectorManipulator>, IRealVectorMultiNeighborhoodShakingOperator, IStochasticOperator { 41 41 -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/SimilarityCalculators/HammingSimilarityCalculator.cs
r14659 r14927 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization.Operators; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 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("155058ba-cc97-46d8-828d-670ff2529b51")] 31 31 public sealed class HammingSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 32 32 protected override bool IsCommutative { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCreator.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.Encodings.RealVectorEncoding { 31 31 [Item("StdDevStrategyVectorCreator", "Creates the endogeneous strategy parameters.")] 32 [Storable Class]32 [StorableType("23953b5c-1d7e-4c89-89be-20eb42b0ba46")] 33 33 public class StdDevStrategyVectorCreator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterCreator { 34 34 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs
r14185 r14927 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 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("1d3dfb90-0c4e-436c-9d17-533284fc9510")] 32 32 public class StdDevStrategyVectorCrossover : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterCrossover { 33 33 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs
r14185 r14927 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 using HeuristicLab.Random; 31 31 … … 35 35 /// </summary> 36 36 [Item("StdDevStrategyVectorManipulator", "Mutates the endogenous strategy parameters.")] 37 [Storable Class]37 [StorableType("fda755fe-7c3a-4cd4-8c8e-d8af5ab64e9e")] 38 38 public class StdDevStrategyVectorManipulator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterManipulator { 39 39 public override bool CanChangeName {
Note: See TracChangeset
for help on using the changeset viewer.