Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 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.Algorithms.EvolutionStrategy/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.EvolutionStrategy/3.3/EvolutionStrategyMainLoop.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization.Operators;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Selection;
    3030
     
    3434  /// </summary>
    3535  [Item("EvolutionStrategyMainLoop", "An operator which represents the main loop of an evolution strategy (EvolutionStrategy).")]
    36   [StorableClass]
     36  [StorableType("1B28A359-B37A-4959-A9B1-93C2E8C7C20A")]
    3737  public sealed class EvolutionStrategyMainLoop : AlgorithmOperator {
    3838    #region Parameter properties
     
    101101
    102102    [StorableConstructor]
    103     private EvolutionStrategyMainLoop(bool deserializing) : base(deserializing) { }
     103    private EvolutionStrategyMainLoop(StorableConstructorFlag _) : base(_) { }
    104104    private EvolutionStrategyMainLoop(EvolutionStrategyMainLoop original, Cloner cloner)
    105105      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.EvolutionStrategy/3.3/HeuristicLab.Algorithms.EvolutionStrategy-3.3.csproj

    r16454 r16462  
    102102      <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath>
    103103    </Reference>
    104     <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
     104    <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    105105      <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath>
    106106    </Reference>
  • branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.EvolutionStrategy/3.3/WithoutRepeatingBatchedRandomSelector.cs

    r16453 r16462  
    2626using HeuristicLab.Data;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Selection;
    3030
    3131namespace HeuristicLab.Algorithms.EvolutionStrategy {
    3232  [Item("WithoutRepeatingBatchedRandomSelector", "Selects m batches of n parents where in each batch the n parents are drawn without repeating.")]
    33   [StorableClass]
     33  [StorableType("FF9A96DC-8B6D-40D2-99A2-D91A4C990E15")]
    3434  public class WithoutRepeatingBatchedRandomSelector : StochasticSelector {
    3535    public override bool CanChangeName {
     
    4444
    4545    [StorableConstructor]
    46     protected WithoutRepeatingBatchedRandomSelector(bool deserializing) : base(deserializing) { }
     46    protected WithoutRepeatingBatchedRandomSelector(StorableConstructorFlag _) : base(_) { }
    4747    protected WithoutRepeatingBatchedRandomSelector(WithoutRepeatingBatchedRandomSelector original, Cloner cloner)
    4848      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.