Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/BreederGeneticAlgorithmManipulator.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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> -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/FixedNormalAllPositionsManipulator.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 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> -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformAllPositionsManipulator.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 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> -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformOnePositionManipulator.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 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> -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MultiRealVectorManipulator.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 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() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialAllPositionManipulator.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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> -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialOnePositionManipulator.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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> -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/SelfAdaptiveNormalAllPositionsManipulator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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> -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/UniformOnePositionManipulator.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 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() { }
Note: See TracChangeset
for help on using the changeset viewer.