Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/15/19 14:52:20 (6 years ago)
Author:
abeham
Message:

#2457: adapted to trunk

Location:
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/SolutionModel/Univariate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/SolutionModel/Univariate/UnivariateModel.cs

    r14776 r16958  
    2121
    2222using System.Linq;
     23using HEAL.Attic;
    2324using HeuristicLab.Common;
    2425using HeuristicLab.Core;
    2526using HeuristicLab.Data;
    2627using HeuristicLab.Optimization;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2828
    2929namespace HeuristicLab.Encodings.BinaryVectorEncoding.SolutionModel {
    3030  [Item("Univariate solution model (binary)", "")]
    31   [StorableClass]
     31  [StorableType("E30B8452-970C-4AF2-B7E7-4AC9C21928BA")]
    3232  public sealed class UnivariateModel : Item, ISolutionModel<BinaryVector> {
    3333    [Storable]
     
    3737
    3838    [StorableConstructor]
    39     private UnivariateModel(bool deserializing) : base(deserializing) { }
     39    private UnivariateModel(StorableConstructorFlag _) : base(_) { }
    4040    private UnivariateModel(UnivariateModel original, Cloner cloner)
    4141      : base(original, cloner) {
  • branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/SolutionModel/Univariate/UnivariateModelTrainingOperator.cs

    r14776 r16958  
    2222using System;
    2323using System.Linq;
     24using HEAL.Attic;
    2425using HeuristicLab.Common;
    2526using HeuristicLab.Core;
     
    2829using HeuristicLab.Optimization;
    2930using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3131
    3232namespace HeuristicLab.Encodings.BinaryVectorEncoding.SolutionModel {
     33  [StorableType("a70d9738-4012-442a-b6b2-b0aa2c34a3c5")]
    3334  public enum ModelBiasOptions {
    3435    Unbiased,
     
    3839
    3940  [Item("Univariate Model Training Operator", "Adds a univariate solution sampling model to the scope.")]
    40   [StorableClass]
     41  [StorableType("CF6BF85A-8AC0-4DF3-8591-671FCBDDB4F2")]
    4142  public class UnivariateModelTrainingOperator : InstrumentedOperator, IStochasticOperator, ISingleObjectiveOperator {
    4243
     
    7172
    7273    [StorableConstructor]
    73     protected UnivariateModelTrainingOperator(bool deserializing) : base() { }
     74    protected UnivariateModelTrainingOperator(StorableConstructorFlag _) : base(_) { }
    7475    protected UnivariateModelTrainingOperator(UnivariateModelTrainingOperator original, Cloner cloner)
    7576      : base(original, cloner) { }
Note: See TracChangeset for help on using the changeset viewer.