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.Problems.GeneticProgramming/3.3
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt/Problem.cs

    r14185 r14927  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232
    3333
     
    3535  [Item("Artificial Ant Problem", "Represents the Artificial Ant problem.")]
    3636  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 170)]
    37   [StorableClass]
     37  [StorableType("ecb1831f-a9c7-4944-a6cc-ce2f175849c4")]
    3838  public sealed class Problem : SymbolicExpressionTreeProblem, IStorableContent {
    3939
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt/Trail.cs

    r14185 r14927  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Problems.GeneticProgramming.ArtificialAnt {
     
    3232  /// </summary>
    3333  [Item("AntTrail", "Represents a trail of an artificial ant which can be visualized in the GUI.")]
    34   [StorableClass]
     34  [StorableType("dc50b1f8-cf94-44af-ab4b-f76caac10724")]
    3535  public sealed class Solution : Item {
    3636    public static new Image StaticItemImage {
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression/Problem.cs

    r14185 r14927  
    2727using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030using HeuristicLab.Problems.DataAnalysis;
    3131using HeuristicLab.Problems.Instances;
     
    3535  [Item("Koza-style Symbolic Regression", "An implementation of symbolic regression without bells-and-whistles. Use \"Symbolic Regression Problem (single-objective)\" if you want to use all features.")]
    3636  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 900)]
    37   [StorableClass]
     37  [StorableType("1e56d6a9-432c-4bf9-878c-ccd67a0d4e4b")]
    3838  public sealed class Problem : SymbolicExpressionTreeProblem, IRegressionProblem, IProblemInstanceConsumer<IRegressionProblemData>, IProblemInstanceExporter<IRegressionProblemData> {
    3939
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/EvenParityProblem.cs

    r14185 r14927  
    2828using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232
     
    3434  [Item("Even Parity Problem", "The Boolean even parity genetic programming problem. See Koza, 1992, page 529 section 20.2 Symbolic Regression of Even-Parity Functions")]
    3535  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 900)]
    36   [StorableClass]
     36  [StorableType("6fa3fdae-9482-466f-8c87-9cc77c2c2ff1")]
    3737  public sealed class EvenParityProblem : SymbolicExpressionTreeProblem {
    3838
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/MultiplexerProblem.cs

    r14185 r14927  
    2929using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232
    3333
     
    3636    "The Boolean multiplexer genetic programming problem. See Koza 1992, page 171, section 7.4.1 11-multiplexer.")]
    3737  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 900)]
    38   [StorableClass]
     38  [StorableType("d6062590-6916-4a32-9ab3-1d0b33079e5f")]
    3939  public sealed class MultiplexerProblem : SymbolicExpressionTreeProblem {
    4040
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/LawnMower/Problem.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131using HeuristicLab.Random;
    3232
    3333namespace HeuristicLab.Problems.GeneticProgramming.LawnMower {
    34   [StorableClass]
     34  [StorableType("44093acd-bb40-4f86-b0c5-aef04df085bc")]
    3535  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 160)]
    3636  [Item("Lawn Mower Problem", "The lawn mower demo problem for genetic programming.")]
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/LawnMower/Solution.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.GeneticProgramming.LawnMower {
    28   [StorableClass]
     28  [StorableType("509e719a-b6be-4518-ade7-d89cb9ba04d6")]
    2929  public sealed class Solution : NamedItem {
    3030    [Storable]
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/EnemyCollection.cs

    r14185 r14927  
    2727using HeuristicLab.Core;
    2828using HeuristicLab.Data;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    3232  [Item("EnemyCollection", "A collection of enemy robots for the Robocode genetic programming problem.")]
    33   [StorableClass]
     33  [StorableType("a5f3037a-bd69-40ed-aea1-b48d393d99fb")]
    3434  public class EnemyCollection : CheckedItemList<StringValue> {
    3535    private const string sampleRobotToSelect = "sample.Crazy";
     
    7171          robotList.SetItemCheckedState(robot, false);
    7272        }
    73       }
    74       catch { }
     73      } catch { }
    7574
    7675      //select one robot so that if a user tries out the Robocode problem it works with the default settings
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Grammar.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    28   [StorableClass]
     28  [StorableType("555b3156-cc70-48d7-ba03-b6ac782ac1db")]
    2929  [Item("Robocode Grammar", "The grammar for the Robocode GP problem.")]
    3030  public class Grammar : SymbolicExpressionGrammar {
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Problem.cs

    r14185 r14927  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    31   [StorableClass]
     31  [StorableType("9a97af49-4cd3-420f-af67-372a4471512c")]
    3232  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 360)]
    3333  [Item("Robocode Problem", "Evolution of a robocode program in java using genetic programming.")]
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Solution.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    28   [StorableClass]
     28  [StorableType("153c65f3-e0c3-412f-96a0-c5e0cbb3a068")]
    2929  [Item("Solution", "Robocode program and configuration.")]
    3030  public sealed class Solution : Item {
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/BooleanTreeNode.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    28   [StorableClass]
     28  [StorableType("76874b36-2080-4aca-b69d-08ee3c9f3893")]
    2929  public class BooleanTreeNode : SymbolicExpressionTreeTerminalNode {
    3030    private bool value;
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/BooleanValue.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    28   [StorableClass]
     28  [StorableType("55e654cc-d027-4d54-a335-edaec07c32d3")]
    2929  public class BooleanValue : Symbol {
    3030    public override int MinimumArity { get { return 0; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/CodeSymbol.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    28   [StorableClass]
     28  [StorableType("dea9e2d1-f55d-403e-81e8-781491c20dbe")]
    2929  // a symbol that can represent any user-defined fragment of code
    3030  public sealed class CodeSymbol : Symbol {
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/Number.cs

    r14185 r14927  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    29   [StorableClass]
     29  [StorableType("4c78cf3c-2dd8-4904-abe9-0c74f8d50386")]
    3030  public class Number : Symbol {
    3131    public override int MinimumArity { get { return 0; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/NumberTreeNode.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    28   [StorableClass]
     28  [StorableType("9453f738-3774-48d9-9fbf-141643ca1865")]
    2929  public class NumberTreeNode : SymbolicExpressionTreeTerminalNode {
    3030    private int value;
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/ShotPower.cs

    r14185 r14927  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    29   [StorableClass]
     29  [StorableType("2fc0fded-8434-4fbc-b88e-44bff94f852b")]
    3030  public class ShotPower : Symbol {
    3131    public override int MinimumArity { get { return 0; } }
  • branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/ShotPowerTreeNode.cs

    r14185 r14927  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Problems.GeneticProgramming.Robocode {
    29   [StorableClass]
     29  [StorableType("391aabd9-f3aa-4ff9-a902-c858064e2bca")]
    3030  public class ShotPowerTreeNode : SymbolicExpressionTreeTerminalNode {
    3131    private double value;
Note: See TracChangeset for help on using the changeset viewer.