Changeset 17332 for branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO
- Timestamp:
- 10/15/19 16:45:00 (5 years ago)
- Location:
- branches/2745_EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/DiscreteEGO
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
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() {
Note: See TracChangeset
for help on using the changeset viewer.