Changeset 17332
- Timestamp:
- 10/15/19 16:45:00 (5 years ago)
- Location:
- branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/AdaptiveSamplingAlgorithm.cs
r15343 r17332 3 3 using System.Linq; 4 4 using System.Threading; 5 using HEAL.Attic; 5 6 using HeuristicLab.Algorithms.DataAnalysis; 6 7 using HeuristicLab.Analysis; … … 13 14 using HeuristicLab.Optimization.Operators; 14 15 using HeuristicLab.Parameters; 15 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;16 16 using HeuristicLab.Problems.DataAnalysis; 17 17 using HeuristicLab.Random; … … 20 20 [Item("Adaptive Sampling Algorithm (EGO)", "An adaptive sampling algorithm.")] 21 21 [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 150)] 22 [StorableClass]23 public class AdaptiveSamplingAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent {22 [StorableType("7c77511b-4dcc-4dbb-bdbb-e9af304dd352")] 23 public class AdaptiveSamplingAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent { 24 24 public string Filename { get; set; } 25 25 … … 110 110 #region Constructors 111 111 [StorableConstructor] 112 protected AdaptiveSamplingAlgorithm( booldeserializing) : base(deserializing) { }112 protected AdaptiveSamplingAlgorithm(StorableConstructorFlag deserializing) : base(deserializing) { } 113 113 [StorableHook(HookType.AfterDeserialization)] 114 114 private void AfterDeserialization() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO/DiscreteAdaptiveSamplingAlgorithm.cs
r15976 r17332 3 3 using System.Linq; 4 4 using System.Threading; 5 using HEAL.Attic; 5 6 using HeuristicLab.Algorithms.DataAnalysis; 6 7 using HeuristicLab.Analysis; … … 13 14 using HeuristicLab.Optimization.Operators; 14 15 using HeuristicLab.Parameters; 15 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;16 16 using HeuristicLab.Problems.DataAnalysis; 17 17 using HeuristicLab.Random; … … 20 20 [Item("Discrete Adaptive Sampling Algorithm (D-EGO)", "A discrete adaptive sampling algorithm.")] 21 21 [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 150)] 22 [StorableClass]23 public class DiscreteAdaptiveSamplingAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent {22 [StorableType("39e06191-714c-44e0-8b57-a5a64f072371")] 23 public class DiscreteAdaptiveSamplingAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent { 24 24 public string Filename { get; set; } 25 25 … … 115 115 #region Constructors 116 116 [StorableConstructor] 117 protected DiscreteAdaptiveSamplingAlgorithm( booldeserializing) : base(deserializing) { }117 protected DiscreteAdaptiveSamplingAlgorithm(StorableConstructorFlag deserializing) : base(deserializing) { } 118 118 [StorableHook(HookType.AfterDeserialization)] 119 119 private void AfterDeserialization() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO/DiscreteCorrelationAnalyzer.cs
r15343 r17332 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 30 31 using HeuristicLab.Optimization; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 using HeuristicLab.Problems.DataAnalysis; 34 34 35 35 namespace HeuristicLab.Algorithms.EGO { 36 36 [Item("DiscreteCorrelationAnalyzer", "Analyzes the correlation between perdictions and actual fitness values")] 37 [StorableClass]38 public class DiscreteCorrelationAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator {37 [StorableType("1657262e-1ada-4672-a073-bc8b144ecf42")] 38 public class DiscreteCorrelationAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator { 39 39 public override bool CanChangeName => true; 40 40 public bool EnabledByDefault => false; … … 49 49 50 50 [StorableConstructor] 51 protected DiscreteCorrelationAnalyzer( booldeserializing) : base(deserializing) { }51 protected DiscreteCorrelationAnalyzer(StorableConstructorFlag deserializing) : base(deserializing) { } 52 52 protected DiscreteCorrelationAnalyzer(DiscreteCorrelationAnalyzer original, Cloner cloner) : base(original, cloner) { } 53 53 public DiscreteCorrelationAnalyzer() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO/DiscreteEfficientGlobalOptimizationAlgorithm.cs
r15343 r17332 24 24 using System.Linq; 25 25 using System.Threading; 26 using HEAL.Attic; 26 27 using HeuristicLab.Algorithms.DataAnalysis; 27 using HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm;28 28 using HeuristicLab.Analysis; 29 29 using HeuristicLab.Common; … … 33 33 using HeuristicLab.Optimization; 34 34 using HeuristicLab.Parameters; 35 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;36 35 using HeuristicLab.Problems.DataAnalysis; 37 36 using HeuristicLab.Problems.Instances; … … 39 38 40 39 namespace HeuristicLab.Algorithms.EGO { 41 [StorableClass]42 [Creatable(CreatableAttribute.Categories.Algorithms, Priority = 95)]40 [StorableType("26f99b28-75f1-4186-9c8b-b5c0548ea768")] 41 [Creatable(CreatableAttribute.Categories.Algorithms, Priority = 95)] 43 42 [Item("DiscreteEfficientGlobalOptimizationAlgorithm", "Solves a problem by sequentially learning a model, solving a subproblem on the model and evaluating the best found solution for this subproblem.")] 44 43 public class DiscreteEfficientGlobalOptimizationAlgorithm : BasicAlgorithm, ISurrogateAlgorithm<IntegerVector> { … … 158 157 #region HLConstructors 159 158 [StorableConstructor] 160 protected DiscreteEfficientGlobalOptimizationAlgorithm( booldeserializing) : base(deserializing) { }159 protected DiscreteEfficientGlobalOptimizationAlgorithm(StorableConstructorFlag deserializing) : base(deserializing) { } 161 160 [StorableHook(HookType.AfterDeserialization)] 162 161 protected void AfterDeseialization() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO/DiscreteEvaluatedSolutionsAnalyzer.cs
r15343 r17332 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 30 31 using HeuristicLab.Optimization; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 34 34 namespace HeuristicLab.Algorithms.EGO { 35 35 [Item("DiscreteEvaluatedSolutionsAnalyzer", "Displays the evaluated Solutions for one or two dimensional problems")] 36 [StorableClass]37 public class DiscreteEvaluatedSolutionsAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator {36 [StorableType("7a785e19-b120-4037-8acb-9223f19a2401")] 37 public class DiscreteEvaluatedSolutionsAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator { 38 38 public override bool CanChangeName => true; 39 39 public bool EnabledByDefault => false; … … 50 50 51 51 [StorableConstructor] 52 protected DiscreteEvaluatedSolutionsAnalyzer( booldeserializing) : base(deserializing) { }52 protected DiscreteEvaluatedSolutionsAnalyzer(StorableConstructorFlag deserializing) : base(deserializing) { } 53 53 protected DiscreteEvaluatedSolutionsAnalyzer(DiscreteEvaluatedSolutionsAnalyzer original, Cloner cloner) : base(original, cloner) { } 54 54 public DiscreteEvaluatedSolutionsAnalyzer() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO/DiscreteInfillProblem.cs
r15343 r17332 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 29 30 using HeuristicLab.Encodings.RealVectorEncoding; 30 31 using HeuristicLab.Optimization; 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;32 32 using HeuristicLab.Problems.DataAnalysis; 33 33 34 34 namespace HeuristicLab.Algorithms.EGO { 35 [StorableClass]36 [Item("DiscreteInfillProblem", "A problem for finding the most interesing potential new sampling Points by optimizing some InfillCriterion")]35 [StorableType("7a98818c-8434-4a33-8230-2b2486772af6")] 36 [Item("DiscreteInfillProblem", "A problem for finding the most interesing potential new sampling Points by optimizing some InfillCriterion")] 37 37 public sealed class DiscreteInfillProblem : SingleObjectiveBasicProblem<IntegerVectorEncoding> { 38 38 … … 59 59 #region Constructors 60 60 [StorableConstructor] 61 private DiscreteInfillProblem( booldeserializing) : base(deserializing) { }61 private DiscreteInfillProblem(StorableConstructorFlag deserializing) : base(deserializing) { } 62 62 private DiscreteInfillProblem(DiscreteInfillProblem original, Cloner cloner) : base(original, cloner) { 63 63 infillCriterion = cloner.Clone(original.infillCriterion); -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO/DiscreteInfillSolver.cs
r15343 r17332 24 24 using System.Linq; 25 25 using System.Collections.Generic; 26 using HEAL.Attic; 26 27 using HeuristicLab.Common; 27 28 using HeuristicLab.Core; … … 30 31 using HeuristicLab.Optimization; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 using HeuristicLab.Problems.DataAnalysis; 34 34 35 35 namespace HeuristicLab.Algorithms.EGO { 36 36 [Item("DiscreteInfillSolver", "An IntegerVectorCreator that creates candidates by optimizing an infill-subproblem")] 37 [StorableClass]38 public class DiscreteInfillSolver : IntegerVectorCreator, ICancellableOperator {37 [StorableType("50004a0b-b3aa-438c-bd80-bd5ff1763683")] 38 public class DiscreteInfillSolver : IntegerVectorCreator, ICancellableOperator { 39 39 40 40 public ILookupParameter<IAlgorithm> InfillOptimizationAlgorithmParamter => (ILookupParameter<IAlgorithm>)Parameters["InfillAlgorithm"]; … … 48 48 49 49 [StorableConstructor] 50 protected DiscreteInfillSolver( booldeserializing) : base(deserializing) { }50 protected DiscreteInfillSolver(StorableConstructorFlag deserializing) : base(deserializing) { } 51 51 protected DiscreteInfillSolver(DiscreteInfillSolver original, Cloner cloner) : base(original, cloner) { } 52 52 public DiscreteInfillSolver() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO/DiscreteSampleCollector.cs
r15976 r17332 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Operators; 29 30 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;31 31 using HeuristicLab.Problems.DataAnalysis; 32 32 33 33 namespace HeuristicLab.Algorithms.EGO { 34 34 [Item("DiscreteSampleCollector", "Collects IntegerVectors into a modifiablbe dataset")] 35 [StorableClass]36 public class DiscreteSampleCollector : InstrumentedOperator {35 [StorableType("b8638624-f79f-41e6-a837-d70824c00082")] 36 public class DiscreteSampleCollector : InstrumentedOperator { 37 37 public override bool CanChangeName => true; 38 38 … … 42 42 43 43 [StorableConstructor] 44 protected DiscreteSampleCollector( booldeserializing) : base(deserializing) { }44 protected DiscreteSampleCollector(StorableConstructorFlag deserializing) : base(deserializing) { } 45 45 protected DiscreteSampleCollector(DiscreteSampleCollector original, Cloner cloner) : base(original, cloner) { } 46 46 public DiscreteSampleCollector() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/EfficientGlobalOptimizationAlgorithm.cs
r15343 r17332 24 24 using System.Linq; 25 25 using System.Threading; 26 using HEAL.Attic; 26 27 using HeuristicLab.Algorithms.DataAnalysis; 27 28 using HeuristicLab.Analysis; … … 32 33 using HeuristicLab.Optimization; 33 34 using HeuristicLab.Parameters; 34 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;35 35 using HeuristicLab.Problems.DataAnalysis; 36 36 using HeuristicLab.Problems.Instances; … … 38 38 39 39 namespace HeuristicLab.Algorithms.EGO { 40 [StorableClass]41 [Creatable(CreatableAttribute.Categories.Algorithms, Priority = 95)]40 [StorableType("bcca4742-9d91-4783-92dd-75dbc8c39f04")] 41 [Creatable(CreatableAttribute.Categories.Algorithms, Priority = 95)] 42 42 [Item("EfficientGlobalOptimizationAlgorithm", "Solves a problem by sequentially learning a model, solving a subproblem on the model and evaluating the best found solution for this subproblem.")] 43 43 public class EfficientGlobalOptimizationAlgorithm : BasicAlgorithm, ISurrogateAlgorithm<RealVector> { … … 157 157 #region HLConstructors 158 158 [StorableConstructor] 159 protected EfficientGlobalOptimizationAlgorithm( booldeserializing) : base(deserializing) { }159 protected EfficientGlobalOptimizationAlgorithm(StorableConstructorFlag deserializing) : base(deserializing) { } 160 160 [StorableHook(HookType.AfterDeserialization)] 161 161 protected void AfterDeseialization() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/HeuristicLab.Algorithms.EGO-3.4.csproj
r15976 r17332 10 10 <RootNamespace>HeuristicLab.Algorithms.EGO</RootNamespace> 11 11 <AssemblyName>HeuristicLab.Algorithms.EGO-3.4</AssemblyName> 12 <TargetFrameworkVersion>v4. 5.2</TargetFrameworkVersion>12 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 13 13 <FileAlignment>512</FileAlignment> 14 <TargetFrameworkProfile /> 14 15 </PropertyGroup> 15 16 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 31 32 </PropertyGroup> 32 33 <ItemGroup> 34 <Reference Include="HEAL.Attic, Version=1.4.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 35 <SpecificVersion>False</SpecificVersion> 36 <HintPath>..\..\..\trunk\bin\HEAL.Attic.dll</HintPath> 37 </Reference> 33 38 <Reference Include="HeuristicLab.Algorithms.CMAEvolutionStrategy-3.4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 34 39 <SpecificVersion>False</SpecificVersion> … … 51 56 <Private>False</Private> 52 57 </Reference> 58 <Reference Include="HeuristicLab.Attic, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> 59 <SpecificVersion>False</SpecificVersion> 60 <HintPath>..\..\..\trunk\bin\HeuristicLab.Attic.dll</HintPath> 61 </Reference> 53 62 <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 54 63 <SpecificVersion>False</SpecificVersion> … … 121 130 <Reference Include="HeuristicLab.Problems.Instances-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec"> 122 131 <Private>False</Private> 123 </Reference>124 <Reference Include="HeuristicLab.Problems.SurrogateProblem-3.3, Version=3.3.0.0, Culture=neutral, processorArchitecture=MSIL">125 <SpecificVersion>False</SpecificVersion>126 <HintPath>..\..\..\trunk\bin\HeuristicLab.Problems.SurrogateProblem-3.3.dll</HintPath>127 132 </Reference> 128 133 <Reference Include="HeuristicLab.Random-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/AugmentedExpectedImprovement.cs
r15064 r17332 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 27 28 using HeuristicLab.Encodings.RealVectorEncoding; 28 29 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 using HeuristicLab.Problems.DataAnalysis; 31 31 … … 33 33 namespace HeuristicLab.Algorithms.EGO { 34 34 35 [StorableClass]36 [Item("AugmentedExpectedImprovement", "Noisy InfillCriterion, Extension of the Expected Improvement as described in\n Global optimization of stochastic black-box systems via sequential kriging meta-models.\r\nHuang, D., Allen, T., Notz, W., Zeng, N.")]35 [StorableType("3ef5f8dc-d101-4f52-9daf-ca45c4b461ee")] 36 [Item("AugmentedExpectedImprovement", "Noisy InfillCriterion, Extension of the Expected Improvement as described in\n Global optimization of stochastic black-box systems via sequential kriging meta-models.\r\nHuang, D., Allen, T., Notz, W., Zeng, N.")] 37 37 public class AugmentedExpectedImprovement : ExpectedImprovementBase { 38 38 … … 53 53 #region Constructors, Serialization and Cloning 54 54 [StorableConstructor] 55 protected AugmentedExpectedImprovement( booldeserializing) : base(deserializing) { }55 protected AugmentedExpectedImprovement(StorableConstructorFlag deserializing) : base(deserializing) { } 56 56 protected AugmentedExpectedImprovement(AugmentedExpectedImprovement original, Cloner cloner) : base(original, cloner) { 57 57 Tau = original.Tau; -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/ExpectedImprovement.cs
r15064 r17332 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; 26 27 using HeuristicLab.Encodings.RealVectorEncoding; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;28 28 using HeuristicLab.Problems.DataAnalysis; 29 29 … … 31 31 namespace HeuristicLab.Algorithms.EGO { 32 32 33 [StorableClass]34 [Item("ExpectedImprovementMeassure", "Extension of the Expected Improvement to a weighted version by ANDRAS SÓBESTER , STEPHEN J. LEARY and ANDY J. KEANE in \n On the Design of Optimization Strategies Based on Global Response Surface Approximation Models")]33 [StorableType("a9a7c704-6620-4129-9da3-74d590c8422a")] 34 [Item("ExpectedImprovementMeassure", "Extension of the Expected Improvement to a weighted version by ANDRAS SÓBESTER , STEPHEN J. LEARY and ANDY J. KEANE in \n On the Design of Optimization Strategies Based on Global Response Surface Approximation Models")] 35 35 public sealed class ExpectedImprovement : ExpectedImprovementBase { 36 36 #region Constructors, Serialization and Cloning 37 37 [StorableConstructor] 38 private ExpectedImprovement( booldeserializing) : base(deserializing) { }38 private ExpectedImprovement(StorableConstructorFlag deserializing) : base(deserializing) { } 39 39 private ExpectedImprovement(ExpectedImprovement original, Cloner cloner) : base(original, cloner) { } 40 40 public ExpectedImprovement() { } -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/ExpectedImprovementBase.cs
r15064 r17332 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 26 27 using HeuristicLab.Encodings.RealVectorEncoding; 27 28 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;29 29 using HeuristicLab.Problems.DataAnalysis; 30 30 … … 32 32 namespace HeuristicLab.Algorithms.EGO { 33 33 34 [StorableClass]35 public abstract class ExpectedImprovementBase : InfillCriterionBase {34 [StorableType("0c74770e-c3eb-4636-b570-c2d674c11fdb")] 35 public abstract class ExpectedImprovementBase : InfillCriterionBase { 36 36 37 37 #region ParameterNames … … 51 51 #region Constructors, Serialization and Cloning 52 52 [StorableConstructor] 53 protected ExpectedImprovementBase( booldeserializing) : base(deserializing) { }53 protected ExpectedImprovementBase(StorableConstructorFlag deserializing) : base(deserializing) { } 54 54 [StorableHook(HookType.AfterDeserialization)] 55 55 private void AfterDeserialization() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/ExpectedQuality.cs
r15064 r17332 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HEAL.Attic; 24 25 using HeuristicLab.Encodings.RealVectorEncoding; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 26 27 27 // ReSharper disable once CheckNamespace 28 28 namespace HeuristicLab.Algorithms.EGO { 29 29 30 [StorableClass]31 [Item("ExpectedQualityMeassure", "Use the quality predicted by the model")]30 [StorableType("21e5b05a-7603-46c4-8692-9e672b586244")] 31 [Item("ExpectedQualityMeassure", "Use the quality predicted by the model")] 32 32 public class ExpectedQuality : InfillCriterionBase { 33 33 #region Constructors, Serialization and Cloning 34 34 [StorableConstructor] 35 protected ExpectedQuality( booldeserializing) : base(deserializing) { }35 protected ExpectedQuality(StorableConstructorFlag deserializing) : base(deserializing) { } 36 36 protected ExpectedQuality(ExpectedQuality original, Cloner cloner) : base(original, cloner) { } 37 37 public ExpectedQuality() { } -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/ExpectedQuantileImprovement.cs
r15064 r17332 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 27 28 using HeuristicLab.Encodings.RealVectorEncoding; 28 29 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 using HeuristicLab.Problems.DataAnalysis; 31 31 … … 33 33 namespace HeuristicLab.Algorithms.EGO { 34 34 35 [StorableClass]36 [Item("ExpectedQuantileImprovement", "Noisy InfillCriterion, Extension of the Expected Improvement as described in \n Noisy expectedimprovement and on - line computation time allocation for the optimization of simulators with tunable fidelitys\r\nPicheny, V., Ginsbourger, D., Richet, Y")]35 [StorableType("9c260dee-1f7c-4c07-bdef-a9e1bf2b26f8")] 36 [Item("ExpectedQuantileImprovement", "Noisy InfillCriterion, Extension of the Expected Improvement as described in \n Noisy expectedimprovement and on - line computation time allocation for the optimization of simulators with tunable fidelitys\r\nPicheny, V., Ginsbourger, D., Richet, Y")] 37 37 public class ExpectedQuantileImprovement : ExpectedImprovementBase { 38 38 … … 56 56 #region HL-Constructors, Serialization and Cloning 57 57 [StorableConstructor] 58 protected ExpectedQuantileImprovement( booldeserializing) : base(deserializing) { }58 protected ExpectedQuantileImprovement(StorableConstructorFlag deserializing) : base(deserializing) { } 59 59 protected ExpectedQuantileImprovement(ExpectedQuantileImprovement original, Cloner cloner) : base(original, cloner) { 60 60 Tau = original.Tau; -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/InfillCriterionBase.cs
r15064 r17332 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Encodings.RealVectorEncoding; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 26 using HeuristicLab.Problems.DataAnalysis; 27 27 28 28 // ReSharper disable once CheckNamespace 29 29 namespace HeuristicLab.Algorithms.EGO { 30 [StorableClass]31 public abstract class InfillCriterionBase : ParameterizedNamedItem, IInfillCriterion {30 [StorableType("bf1f0622-7edc-4258-b79c-b0dc5aca5d70")] 31 public abstract class InfillCriterionBase : ParameterizedNamedItem, IInfillCriterion { 32 32 [Storable] 33 33 public IRegressionSolution RegressionSolution { get; set; } … … 37 37 public RealVectorEncoding Encoding { get; set; } 38 38 39 protected InfillCriterionBase(bool deserializing) : base(deserializing) { } 39 [StorableConstructor] 40 protected InfillCriterionBase(StorableConstructorFlag deserializing) : base(deserializing) { } 40 41 protected InfillCriterionBase(InfillCriterionBase original, Cloner cloner) : base(original, cloner) { 41 42 RegressionSolution = cloner.Clone(original.RegressionSolution); -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/MinimalQuantileCriterium.cs
r15064 r17332 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 26 27 using HeuristicLab.Encodings.RealVectorEncoding; 27 28 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;29 29 using HeuristicLab.Problems.DataAnalysis; 30 30 … … 32 32 namespace HeuristicLab.Algorithms.EGO { 33 33 34 [StorableClass]35 [Item("MinimalQuantileCriterium", "Adding or Subtracting the variance * factor to the model estimation")]34 [StorableType("94ac7c83-b4ae-4d81-ab55-0db37b5f8155")] 35 [Item("MinimalQuantileCriterium", "Adding or Subtracting the variance * factor to the model estimation")] 36 36 public class MinimalQuantileCriterium : InfillCriterionBase { 37 37 … … 50 50 #region Constructors, Serialization and Cloning 51 51 [StorableConstructor] 52 protected MinimalQuantileCriterium( booldeserializing) : base(deserializing) { }52 protected MinimalQuantileCriterium(StorableConstructorFlag deserializing) : base(deserializing) { } 53 53 protected MinimalQuantileCriterium(MinimalQuantileCriterium original, Cloner cloner) : base(original, cloner) { } 54 54 public MinimalQuantileCriterium() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/NeighbourDistance.cs
r15338 r17332 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 24 using HEAL.Attic; 25 25 using HeuristicLab.Algorithms.DataAnalysis; 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 28 using HeuristicLab.Encodings.RealVectorEncoding; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 29 31 30 // ReSharper disable once CheckNamespace 32 31 namespace HeuristicLab.Algorithms.EGO { 33 32 34 [StorableClass]35 [Item("NeighbourDistance", "Exploration by maximizing the distance to the nearest neighbour")]33 [StorableType("96160d45-3abb-460b-aa31-c00204c1e914")] 34 [Item("NeighbourDistance", "Exploration by maximizing the distance to the nearest neighbour")] 36 35 public class NeighbourDistance : InfillCriterionBase { 37 36 … … 39 38 #region Constructors, Serialization and Cloning 40 39 [StorableConstructor] 41 protected NeighbourDistance( booldeserializing) : base(deserializing) { }40 protected NeighbourDistance(StorableConstructorFlag deserializing) : base(deserializing) { } 42 41 protected NeighbourDistance(NeighbourDistance original, Cloner cloner) : base(original, cloner) { } 43 42 public NeighbourDistance() { } -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/PluginExpectedImprovement.cs
r15064 r17332 21 21 22 22 using System.Linq; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Encodings.RealVectorEncoding; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;27 27 using HeuristicLab.Problems.DataAnalysis; 28 28 29 29 // ReSharper disable once CheckNamespace 30 namespace HeuristicLab.Algorithms.EGO { 30 namespace HeuristicLab.Algorithms.EGO 31 { 31 32 32 [StorableClass]33 [Item("PluginExpectedImprovement", "Noisy InfillCriterion, Extension of the Expected Improvement by using the minimal prediction on the observed points\n rather than the minimal observed value as described in \n Global optimization based on noisy evaluations: An empirical study of two statistical approaches\r\nEmmanuel Vazqueza, Julien Villemonteixb, Maryan Sidorkiewiczb and Éric Walterc")]33 [StorableType("1983bcd7-f157-4498-9827-3be4a5af2b17")] 34 [Item("PluginExpectedImprovement", "Noisy InfillCriterion, Extension of the Expected Improvement by using the minimal prediction on the observed points\n rather than the minimal observed value as described in \n Global optimization based on noisy evaluations: An empirical study of two statistical approaches\r\nEmmanuel Vazqueza, Julien Villemonteixb, Maryan Sidorkiewiczb and Éric Walterc")] 34 35 public class PluginExpectedImprovement : ExpectedImprovementBase { 35 36 36 37 #region HL-Constructors, Serialization and Cloning 37 38 [StorableConstructor] 38 protected PluginExpectedImprovement( booldeserializing) : base(deserializing) { }39 protected PluginExpectedImprovement(StorableConstructorFlag deserializing) : base(deserializing) { } 39 40 protected PluginExpectedImprovement(PluginExpectedImprovement original, Cloner cloner) : base(original, cloner) { } 40 41 public PluginExpectedImprovement() { } -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Operators/CorrelationAnalyzer.cs
r15338 r17332 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 30 31 using HeuristicLab.Optimization; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 using HeuristicLab.Problems.DataAnalysis; 34 34 35 35 namespace HeuristicLab.Algorithms.EGO { 36 36 [Item("CorrelationAnalyzer", "Analyzes the correlation between perdictions and actual fitness values")] 37 [StorableClass]38 public class CorrelationAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator {37 [StorableType("f0dec41c-e5c6-4785-a8f8-af1f40c598b9")] 38 public class CorrelationAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator { 39 39 public override bool CanChangeName => true; 40 40 public bool EnabledByDefault => false; … … 49 49 50 50 [StorableConstructor] 51 protected CorrelationAnalyzer( booldeserializing) : base(deserializing) { }51 protected CorrelationAnalyzer(StorableConstructorFlag deserializing) : base(deserializing) { } 52 52 protected CorrelationAnalyzer(CorrelationAnalyzer original, Cloner cloner) : base(original, cloner) { } 53 53 public CorrelationAnalyzer() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Operators/EvaluatedSolutionsAnalyzer.cs
r15343 r17332 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 30 31 using HeuristicLab.Optimization; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 34 34 namespace HeuristicLab.Algorithms.EGO { 35 35 [Item("EvaluatedSolutionsAnalyzer", "Displays the evaluated Solutions for one or two dimensional problems")] 36 [StorableClass]37 public class EvaluatedSolutionsAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator {36 [StorableType("95349254-796c-47cc-b17a-0581e8c1dce7")] 37 public class EvaluatedSolutionsAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator { 38 38 public override bool CanChangeName => true; 39 39 public bool EnabledByDefault => false; … … 50 50 51 51 [StorableConstructor] 52 protected EvaluatedSolutionsAnalyzer( booldeserializing) : base(deserializing) { }52 protected EvaluatedSolutionsAnalyzer(StorableConstructorFlag deserializing) : base(deserializing) { } 53 53 protected EvaluatedSolutionsAnalyzer(EvaluatedSolutionsAnalyzer original, Cloner cloner) : base(original, cloner) { } 54 54 public EvaluatedSolutionsAnalyzer() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Operators/FitnessClusteringAnalyzer.cs
r15976 r17332 23 23 using System.Linq; 24 24 using System.Threading; 25 using HEAL.Attic; 25 26 using HeuristicLab.Algorithms.DataAnalysis; 26 27 using HeuristicLab.Analysis; … … 31 32 using HeuristicLab.Optimization; 32 33 using HeuristicLab.Parameters; 33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;34 34 using HeuristicLab.Problems.DataAnalysis; 35 35 36 36 namespace HeuristicLab.Algorithms.EGO { 37 37 [Item("FitnessClusteringAnalyzer", "Analyzes the correlation between perdictions and actual fitness values")] 38 [StorableClass]39 public class FitnessClusteringAnalyzer : SingleSuccessorOperator, IAnalyzer, IStochasticOperator, IResultsOperator {38 [StorableType("3e92b03f-eba4-4bb0-a53c-921c51372389")] 39 public class FitnessClusteringAnalyzer : SingleSuccessorOperator, IAnalyzer, IStochasticOperator, IResultsOperator { 40 40 public override bool CanChangeName => true; 41 41 public bool EnabledByDefault => false; … … 51 51 52 52 [StorableConstructor] 53 protected FitnessClusteringAnalyzer( booldeserializing) : base(deserializing) { }53 protected FitnessClusteringAnalyzer(StorableConstructorFlag deserializing) : base(deserializing) { } 54 54 55 55 protected FitnessClusteringAnalyzer(FitnessClusteringAnalyzer original, Cloner cloner) : base(original, cloner) { } -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Operators/InfillSolver.cs
r15343 r17332 22 22 using System; 23 23 using System.Threading; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Optimization; 29 30 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;31 31 using HeuristicLab.Problems.DataAnalysis; 32 32 33 33 namespace HeuristicLab.Algorithms.EGO { 34 34 [Item("InfillSolver", "A RealVectorCreator that creates candidates by optimizing an infill-subproblem")] 35 [StorableClass]36 public class InfillSolver : RealVectorCreator, ICancellableOperator {35 [StorableType("b1ba4532-ed8d-46a2-8115-30b21e9c595a")] 36 public class InfillSolver : RealVectorCreator, ICancellableOperator { 37 37 38 38 public ILookupParameter<IAlgorithm> InfillOptimizationAlgorithmParamter => (ILookupParameter<IAlgorithm>)Parameters["InfillAlgorithm"]; … … 46 46 47 47 [StorableConstructor] 48 protected InfillSolver( booldeserializing) : base(deserializing) { }48 protected InfillSolver(StorableConstructorFlag deserializing) : base(deserializing) { } 49 49 protected InfillSolver(InfillSolver original, Cloner cloner) : base(original, cloner) { } 50 50 public InfillSolver() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Operators/ModelBuilder.cs
r15343 r17332 23 23 using System.Linq; 24 24 using System.Threading; 25 using HEAL.Attic; 25 26 using HeuristicLab.Algorithms.DataAnalysis; 26 27 using HeuristicLab.Common; … … 35 36 namespace HeuristicLab.Algorithms.EGO { 36 37 [Item("ModelBuilder", "Builds a model from a dataset and a given RegressionAlgorithm")] 37 [StorableClass]38 public class ModelBuilder : InstrumentedOperator, IStochasticOperator, ICancellableOperator {38 [StorableType("8b80026f-b6a5-4892-9826-86ffba1e4e10")] 39 public class ModelBuilder : InstrumentedOperator, IStochasticOperator, ICancellableOperator { 39 40 public override bool CanChangeName => true; 40 41 public CancellationToken Cancellation { get; set; } … … 50 51 51 52 [StorableConstructor] 52 protected ModelBuilder( booldeserializing) : base(deserializing) { }53 protected ModelBuilder(StorableConstructorFlag deserializing) : base(deserializing) { } 53 54 protected ModelBuilder(ModelBuilder original, Cloner cloner) : base(original, cloner) { } 54 55 public ModelBuilder() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Operators/ModelQualityAnalyzer.cs
r15343 r17332 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Analysis; 23 24 using HeuristicLab.Common; … … 26 27 using HeuristicLab.Optimization; 27 28 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;29 29 using HeuristicLab.Problems.DataAnalysis; 30 30 31 31 namespace HeuristicLab.Algorithms.EGO { 32 32 [Item("ModelQualityAnalyzer", "Collects RealVectors into a modifiablbe dataset")] 33 [StorableClass]34 public class ModelQualityAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator {33 [StorableType("12c5a773-4397-45eb-ad25-0ffc897513f8")] 34 public class ModelQualityAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator { 35 35 public override bool CanChangeName => true; 36 36 public bool EnabledByDefault => false; … … 47 47 48 48 [StorableConstructor] 49 protected ModelQualityAnalyzer( booldeserializing) : base(deserializing) { }49 protected ModelQualityAnalyzer(StorableConstructorFlag deserializing) : base(deserializing) { } 50 50 protected ModelQualityAnalyzer(ModelQualityAnalyzer original, Cloner cloner) : base(original, cloner) { } 51 51 public ModelQualityAnalyzer() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Operators/SampleCollector.cs
r15976 r17332 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Operators; 29 30 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;31 31 using HeuristicLab.Problems.DataAnalysis; 32 32 33 33 namespace HeuristicLab.Algorithms.EGO { 34 34 [Item("SampleCollector", "Collects RealVectors into a modifiablbe dataset")] 35 [StorableClass]36 public class SampleCollector : InstrumentedOperator {35 [StorableType("f207dfb7-2f26-4a2a-9d23-eebf2c7df1de")] 36 public class SampleCollector : InstrumentedOperator { 37 37 public override bool CanChangeName => true; 38 38 … … 42 42 43 43 [StorableConstructor] 44 protected SampleCollector( booldeserializing) : base(deserializing) { }44 protected SampleCollector(StorableConstructorFlag deserializing) : base(deserializing) { } 45 45 protected SampleCollector(SampleCollector original, Cloner cloner) : base(original, cloner) { } 46 46 public SampleCollector() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Operators/VariableVariabilityAnalyzer.cs
r15338 r17332 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 29 30 using HeuristicLab.Optimization; 30 31 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;32 32 using HeuristicLab.Problems.DataAnalysis; 33 33 34 34 namespace HeuristicLab.Algorithms.EGO { 35 35 [Item("VariableVariabilityAnalyzer", "Analyzes the correlation between perdictions and actual fitness values")] 36 [StorableClass]37 public class VariableVariabilityAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator {36 [StorableType("3bc82bbb-e9dd-4a50-8241-cfcf230be8c9")] 37 public class VariableVariabilityAnalyzer : SingleSuccessorOperator, IAnalyzer, IResultsOperator { 38 38 public override bool CanChangeName => true; 39 39 public bool EnabledByDefault => false; … … 48 48 49 49 [StorableConstructor] 50 protected VariableVariabilityAnalyzer( booldeserializing) : base(deserializing) { }50 protected VariableVariabilityAnalyzer(StorableConstructorFlag deserializing) : base(deserializing) { } 51 51 protected VariableVariabilityAnalyzer(VariableVariabilityAnalyzer original, Cloner cloner) : base(original, cloner) { } 52 52 public VariableVariabilityAnalyzer() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/Problems/InfillProblem.cs
r15064 r17332 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 32 33 33 34 namespace HeuristicLab.Algorithms.EGO { 34 [StorableClass]35 [Item("InfillProblem", "A problem for finding the most interesing potential new sampling Points by optimizing some InfillCriterion")]35 [StorableType("4f14a2dd-b68c-4713-918c-46b264087212")] 36 [Item("InfillProblem", "A problem for finding the most interesing potential new sampling Points by optimizing some InfillCriterion")] 36 37 public sealed class InfillProblem : SingleObjectiveBasicProblem<RealVectorEncoding> { 37 38 … … 60 61 #region Constructors 61 62 [StorableConstructor] 62 private InfillProblem( booldeserializing) : base(deserializing) { }63 private InfillProblem(StorableConstructorFlag deserializing) : base(deserializing) { } 63 64 private InfillProblem(InfillProblem original, Cloner cloner) : base(original, cloner) { 64 65 infillCriterion = cloner.Clone(original.infillCriterion); -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/SamplingMethods/LatinHyperCubeDesignCreator.cs
r15343 r17332 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 35 36 namespace HeuristicLab.Algorithms.EGO { 36 37 37 [StorableClass]38 [Item("LatinHyperCubeDesignCreator", "A latin hypercube sampling strategy for real valued optimization")]38 [StorableType("03d03890-d122-4730-b7bf-378a40d90a22")] 39 [Item("LatinHyperCubeDesignCreator", "A latin hypercube sampling strategy for real valued optimization")] 39 40 public class LatinHyperCubeDesignCreator : RealVectorCreator, IInitialSampling<RealVector> { 40 41 private IValueLookupParameter<IntValue> DesignSize => (IValueLookupParameter<IntValue>)Parameters["DesignSize"]; … … 43 44 44 45 [StorableConstructor] 45 protected LatinHyperCubeDesignCreator( booldeserializing) : base(deserializing) { }46 protected LatinHyperCubeDesignCreator(StorableConstructorFlag deserializing) : base(deserializing) { } 46 47 47 48 protected LatinHyperCubeDesignCreator(LatinHyperCubeDesignCreator original, Cloner cloner) : base(original, cloner) { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/SamplingMethods/UniformRandomDiscreteSampling.cs
r15343 r17332 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Optimization; 25 26 using HeuristicLab.Encodings.IntegerVectorEncoding; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;27 27 28 28 // ReSharper disable once CheckNamespace 29 29 namespace HeuristicLab.Algorithms.EGO { 30 30 31 [StorableClass]32 [Item("UniformRandomDiscreteSampling", "A uniform random sampling strategy for real valued optimization")]31 [StorableType("6c6474ee-b8f2-409e-a2e4-61b7c01e1fa2")] 32 [Item("UniformRandomDiscreteSampling", "A uniform random sampling strategy for real valued optimization")] 33 33 public class UniformRandomDiscreteSampling : ParameterizedNamedItem, IInitialSampling<IntegerVector> { 34 34 35 35 #region HL-Constructors, Serialization and Cloning 36 36 [StorableConstructor] 37 protected UniformRandomDiscreteSampling( booldeserializing) : base(deserializing) { }37 protected UniformRandomDiscreteSampling(StorableConstructorFlag deserializing) : base(deserializing) { } 38 38 protected UniformRandomDiscreteSampling(UniformRandomDiscreteSampling original, Cloner cloner) : base(original, cloner) { } 39 39 public UniformRandomDiscreteSampling() { -
branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/SamplingMethods/UniformRandomSampling.cs
r15343 r17332 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Optimization; 25 26 using HeuristicLab.Encodings.RealVectorEncoding; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;27 27 28 28 // ReSharper disable once CheckNamespace 29 29 namespace HeuristicLab.Algorithms.EGO { 30 30 31 [StorableClass]32 [Item("UniformRandomSampling", "A uniform random sampling strategy for real valued optimization")]31 [StorableType("5e725905-0d77-4379-bbb9-8ca6ae392e59")] 32 [Item("UniformRandomSampling", "A uniform random sampling strategy for real valued optimization")] 33 33 public class UniformRandomSampling : ParameterizedNamedItem, IInitialSampling<RealVector> { 34 34 35 35 #region HL-Constructors, Serialization and Cloning 36 36 [StorableConstructor] 37 protected UniformRandomSampling( booldeserializing) : base(deserializing) { }37 protected UniformRandomSampling(StorableConstructorFlag deserializing) : base(deserializing) { } 38 38 protected UniformRandomSampling(UniformRandomSampling original, Cloner cloner) : base(original, cloner) { } 39 39 public UniformRandomSampling() {
Note: See TracChangeset
for help on using the changeset viewer.