Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

Location:
branches/PersistenceReintegration/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/HillClimber.cs

    r14523 r14927  
    3131using HeuristicLab.Optimization;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HeuristicLab.Persistence;
    3434using HeuristicLab.Problems.Binary;
    3535using HeuristicLab.Random;
     
    4141  // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid
    4242  [Item("Hill Climber (HC)", "Binary Hill Climber.")]
    43   [StorableClass]
     43  [StorableType("8ebb02c1-6fd4-4545-b716-427013cdb389")]
    4444  [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 150)]
    4545  public class HillClimber : BasicAlgorithm {
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/ParameterlessPopulationPyramid.cs

    r14527 r14927  
    3131using HeuristicLab.Optimization;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HeuristicLab.Persistence;
    3434using HeuristicLab.Problems.Binary;
    3535using HeuristicLab.Random;
     
    4040  // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid
    4141  [Item("Parameter-less Population Pyramid (P3)", "Binary value optimization algorithm which requires no configuration. B. W. Goldman and W. F. Punch, Parameter-less Population Pyramid, GECCO, pp. 785–792, 2014")]
    42   [StorableClass]
     42  [StorableType("7588f673-a2be-4bc0-a7b2-1991613a32da")]
    4343  [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 400)]
    4444  public class ParameterlessPopulationPyramid : BasicAlgorithm {
Note: See TracChangeset for help on using the changeset viewer.