Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/19 18:16:20 (6 years ago)
Author:
gkronber
Message:

#2520: changed HeuristicLab.MetaOptimization addon to compile with new HL.Persistence

Location:
addons/HeuristicLab.MetaOptimization
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • addons/HeuristicLab.MetaOptimization

    • Property svn:ignore
      •  

        old new  
        88HeuristicLab.MetaOptimization.sln.docstates.suo
        99_ReSharper.HeuristicLab.MetaOptimization
         10packages
  • addons/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Operators/Crossovers/IntValue/AverageIntValueCrossover.cs

    r6017 r16574  
    1010using HeuristicLab.Common;
    1111using HeuristicLab.Data;
     12using HEAL.Attic;
    1213
    1314namespace HeuristicLab.Problems.MetaOptimization {
    14   [StorableClass]
     15  [StorableType("FF6DCDF5-434C-4D47-8D67-5BD52BAB2D01")]
    1516  public class AverageIntValueCrossover : SingleSuccessorOperator, IIntValueCrossover, IStochasticOperator {
    1617    public ILookupParameter<IRandom> RandomParameter {
     
    2021    public AverageIntValueCrossover() { }
    2122    [StorableConstructor]
    22     protected AverageIntValueCrossover(bool deserializing) : base(deserializing) { }
     23    protected AverageIntValueCrossover(StorableConstructorFlag _) : base(_) { }
    2324    protected AverageIntValueCrossover(AverageIntValueCrossover original, Cloner cloner)
    2425      : base(original, cloner) {
  • addons/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Operators/Crossovers/IntValue/DiscreteIntValueCrossover.cs

    r6017 r16574  
    1010using HeuristicLab.Common;
    1111using HeuristicLab.Data;
     12using HEAL.Attic;
    1213
    1314namespace HeuristicLab.Problems.MetaOptimization {
    14   [StorableClass]
     15  [StorableType("FC23D1DD-52F8-44CC-8873-1858449F4385")]
    1516  public class DiscreteIntValueCrossover : SingleSuccessorOperator, IIntValueCrossover, IStochasticOperator {
    1617    public ILookupParameter<IRandom> RandomParameter {
     
    2021    public DiscreteIntValueCrossover() { }
    2122    [StorableConstructor]
    22     protected DiscreteIntValueCrossover(bool deserializing) : base(deserializing) { }
     23    protected DiscreteIntValueCrossover(StorableConstructorFlag _) : base(_) { }
    2324    protected DiscreteIntValueCrossover(DiscreteIntValueCrossover original, Cloner cloner)
    2425      : base(original, cloner) {
  • addons/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Operators/Crossovers/IntValue/MultiIntValueCrossover.cs

    r10309 r16574  
    88using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    99using HeuristicLab.PluginInfrastructure;
     10using HEAL.Attic;
    1011
    1112namespace HeuristicLab.Problems.MetaOptimization.Operators.Crossovers {
    1213  [Item("MultiIntValueCrossover", "Randomly selects and applies one of its crossovers every time it is called.")]
    13   [StorableClass]
     14  [StorableType("FEF9B863-E609-4743-B8C6-AA8DE6A65470")]
    1415  public class MultiIntValueCrossover : StochasticMultiBranch<IIntValueCrossover>, IIntValueCrossover, IStochasticOperator {
    1516    public override bool CanChangeName {
     
    2122
    2223    [StorableConstructor]
    23     protected MultiIntValueCrossover(bool deserializing) : base(deserializing) { }
     24    protected MultiIntValueCrossover(StorableConstructorFlag _) : base(_) { }
    2425    public MultiIntValueCrossover() {
    2526      foreach (Type type in ApplicationManager.Manager.GetTypes(typeof(IIntValueCrossover)).OrderBy(op => op.Name)) {
  • addons/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Operators/Crossovers/IntValue/NormalIntValueCrossover.cs

    r6038 r16574  
    88using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    99using HeuristicLab.Random;
     10using HEAL.Attic;
    1011
    1112namespace HeuristicLab.Problems.MetaOptimization {
    12   [StorableClass]
     13  [StorableType("39FB97FC-E6C1-4364-8E45-317ECAE9136D")]
    1314  public class NormalIntValueCrossover : SingleSuccessorOperator, IIntValueCrossover, IStochasticOperator {
    1415    public ILookupParameter<IRandom> RandomParameter {
     
    1819    public NormalIntValueCrossover() { }
    1920    [StorableConstructor]
    20     protected NormalIntValueCrossover(bool deserializing) : base(deserializing) { }
     21    protected NormalIntValueCrossover(StorableConstructorFlag _) : base(_) { }
    2122    protected NormalIntValueCrossover(NormalIntValueCrossover original, Cloner cloner)
    2223      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.