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.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/FullTreeCreator.cs

    r14185 r14927  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.Core;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727using HeuristicLab.PluginInfrastructure;
    2828
    2929namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
    3030  [NonDiscoverableType]
    31   [StorableClass]
     31  [StorableType("4e596133-a481-4f90-b673-a3301ef899eb")]
    3232  [Item("FullTreeCreator", "An operator that creates new symbolic expression trees using the 'Full' method")]
    3333  public class FullTreeCreator : SymbolicExpressionTreeCreator,
     
    7777      rootNode.AddSubtree(startNode);
    7878
    79       Create(random, startNode, maxTreeDepth-1);
     79      Create(random, startNode, maxTreeDepth - 1);
    8080      tree.Root = rootNode;
    8181      return tree;
  • branches/PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/GrowTreeCreator.cs

    r14185 r14927  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.Core;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727using HeuristicLab.PluginInfrastructure;
    2828
    2929namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
    3030  [NonDiscoverableType]
    31   [StorableClass]
     31  [StorableType("d8e1691b-3b2d-4835-9244-3f5bab365ef4")]
    3232  [Item("GrowTreeCreator", "An operator that creates new symbolic expression trees using the 'Grow' method")]
    3333  public class GrowTreeCreator : SymbolicExpressionTreeCreator {
  • branches/PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/ProbabilisticTreeCreator.cs

    r14185 r14927  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828using HeuristicLab.PluginInfrastructure;
    2929
    3030namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
    3131  [NonDiscoverableType]
    32   [StorableClass]
     32  [StorableType("d7107203-3692-4098-a46b-40a45b532e61")]
    3333  [Item("ProbabilisticTreeCreator", "An operator that creates new symbolic expression trees with uniformly distributed length")]
    3434  public class ProbabilisticTreeCreator : SymbolicExpressionTreeCreator,
  • branches/PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/RampedHalfAndHalfTreeCreator.cs

    r14185 r14927  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HeuristicLab.Persistence;
    2525using HeuristicLab.PluginInfrastructure;
    2626
    2727namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
    2828  [NonDiscoverableType]
    29   [StorableClass]
     29  [StorableType("ac712418-5796-4d29-be6c-8df2371e3108")]
    3030  [Item("RampedHalfAndHalfTreeCreator", "An operator that creates new symbolic expression trees in an alternate way: half the trees are created usign the 'Grow' method while the other half are created using the 'Full' method")]
    3131  public class RampedHalfAndHalfTreeCreator : SymbolicExpressionTreeCreator {
  • branches/PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/SymbolicExpressionTreeCreator.cs

    r14185 r14927  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
     
    3131  /// </summary>
    3232  [Item("SymbolicExpressionTreeCreator", "A base class for operators creating symbolic expression trees.")]
    33   [StorableClass]
     33  [StorableType("de2325eb-560e-419b-8556-c1b5d98012cd")]
    3434  public abstract class SymbolicExpressionTreeCreator : SymbolicExpressionTreeOperator, ISymbolicExpressionTreeCreator {
    3535    private const string MaximumSymbolicExpressionTreeLengthParameterName = "MaximumSymbolicExpressionTreeLength";
Note: See TracChangeset for help on using the changeset viewer.