Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/StrategyParameters
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCreator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.IntegerVectorEncoding {
    3131  [Item("StdDevStrategyVectorCreator", "Creates the endogeneous strategy parameters.")]
    32   [StorableClass]
     32  [StorableType("3357CE2D-EC8C-4DD7-B51A-FA72D558EA91")]
    3333  public class StdDevStrategyVectorCreator : SingleSuccessorOperator, IStochasticOperator, IIntegerVectorStdDevStrategyParameterCreator {
    3434    public override bool CanChangeName {
     
    4949
    5050    [StorableConstructor]
    51     protected StdDevStrategyVectorCreator(bool deserializing) : base(deserializing) { }
     51    protected StdDevStrategyVectorCreator(StorableConstructorFlag _) : base(_) { }
    5252    protected StdDevStrategyVectorCreator(StdDevStrategyVectorCreator original, Cloner cloner) : base(original, cloner) { }
    5353    public StdDevStrategyVectorCreator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Encodings.IntegerVectorEncoding {
    3131  [Item("StdDevStrategyVectorCrossover", "Crosses the strategy vector by using intermediate recombination (average crossover).")]
    32   [StorableClass]
     32  [StorableType("27583F67-4C80-4059-B4F9-80587C0DFB13")]
    3333  public class StdDevStrategyVectorCrossover : SingleSuccessorOperator, IStochasticOperator, IIntegerVectorStdDevStrategyParameterCrossover {
    3434    public override bool CanChangeName {
     
    4646
    4747    [StorableConstructor]
    48     protected StdDevStrategyVectorCrossover(bool deserializing) : base(deserializing) { }
     48    protected StdDevStrategyVectorCrossover(StorableConstructorFlag _) : base(_) { }
    4949    protected StdDevStrategyVectorCrossover(StdDevStrategyVectorCrossover original, Cloner cloner) : base(original, cloner) { }
    5050    public StdDevStrategyVectorCrossover()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030using HeuristicLab.Random;
    3131
     
    3535  /// </summary>
    3636  [Item("StdDevStrategyVectorManipulator", "Mutates the endogenous strategy parameters.")]
    37   [StorableClass]
     37  [StorableType("8DEED222-E816-4B80-B3F9-0A799EC40C4E")]
    3838  public class StdDevStrategyVectorManipulator : SingleSuccessorOperator, IStochasticOperator, IIntegerVectorStdDevStrategyParameterManipulator {
    3939    public override bool CanChangeName {
     
    5757
    5858    [StorableConstructor]
    59     protected StdDevStrategyVectorManipulator(bool deserializing) : base(deserializing) { }
     59    protected StdDevStrategyVectorManipulator(StorableConstructorFlag _) : base(_) { }
    6060    protected StdDevStrategyVectorManipulator(StdDevStrategyVectorManipulator original, Cloner cloner) : base(original, cloner) { }
    6161    public StdDevStrategyVectorManipulator()
Note: See TracChangeset for help on using the changeset viewer.