- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt/Interpreter.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt/Problem.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 33 33 … … 35 35 [Item("Artificial Ant Problem", "Represents the Artificial Ant problem.")] 36 36 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 170)] 37 [Storable Class]37 [StorableType("D365171B-7077-4CC2-835C-1827EA67C843")] 38 38 public sealed class Problem : SymbolicExpressionTreeProblem, IStorableContent { 39 39 … … 105 105 // persistence 106 106 [StorableConstructor] 107 private Problem( bool deserializing) : base(deserializing) { }107 private Problem(StorableConstructorFlag _) : base(_) { } 108 108 [StorableHook(HookType.AfterDeserialization)] 109 109 private void AfterDeserialization() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt/Trail.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Problems.GeneticProgramming.ArtificialAnt { … … 32 32 /// </summary> 33 33 [Item("AntTrail", "Represents a trail of an artificial ant which can be visualized in the GUI.")] 34 [Storable Class]34 [StorableType("6C666B13-1A69-4924-9ED7-4AC06151FDC6")] 35 35 public sealed class Solution : Item { 36 36 public static new Image StaticItemImage { … … 55 55 #region item cloning and persistence 56 56 [StorableConstructor] 57 private Solution( bool deserializing) : base(deserializing) { }57 private Solution(StorableConstructorFlag _) : base(_) { } 58 58 [StorableHook(HookType.AfterDeserialization)] 59 59 private void AfterDeserialization() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression/Problem.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Problems.DataAnalysis; 31 31 using HeuristicLab.Problems.Instances; … … 35 35 [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.")] 36 36 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 900)] 37 [Storable Class]37 [StorableType("72011B73-28C6-4D5E-BEDF-27425BC87B9C")] 38 38 public sealed class Problem : SymbolicExpressionTreeProblem, IRegressionProblem, IProblemInstanceConsumer<IRegressionProblemData>, IProblemInstanceExporter<IRegressionProblemData> { 39 39 … … 67 67 // persistence 68 68 [StorableConstructor] 69 private Problem( bool deserializing) : base(deserializing) { }69 private Problem(StorableConstructorFlag _) : base(_) { } 70 70 [StorableHook(HookType.AfterDeserialization)] 71 71 private void AfterDeserialization() { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/EvenParityProblem.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 … … 34 34 [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")] 35 35 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 900)] 36 [Storable Class]36 [StorableType("76D6001D-135F-45FB-BC79-061EDAEE33A9")] 37 37 public sealed class EvenParityProblem : SymbolicExpressionTreeProblem { 38 38 … … 61 61 // persistence 62 62 [StorableConstructor] 63 private EvenParityProblem( bool deserializing) : base(deserializing) { }63 private EvenParityProblem(StorableConstructorFlag _) : base(_) { } 64 64 [StorableHook(HookType.AfterDeserialization)] 65 65 private void AfterDeserialization() { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/MultiplexerProblem.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 33 33 … … 36 36 "The Boolean multiplexer genetic programming problem. See Koza 1992, page 171, section 7.4.1 11-multiplexer.")] 37 37 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 900)] 38 [Storable Class]38 [StorableType("6DFE64E4-3968-446F-AE3D-FAF13C18930C")] 39 39 public sealed class MultiplexerProblem : SymbolicExpressionTreeProblem { 40 40 … … 63 63 // persistence 64 64 [StorableConstructor] 65 private MultiplexerProblem( bool deserializing) : base(deserializing) { }65 private MultiplexerProblem(StorableConstructorFlag _) : base(_) { } 66 66 [StorableHook(HookType.AfterDeserialization)] 67 67 private void AfterDeserialization() { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/HeuristicLab.Problems.GeneticProgramming-3.3.csproj
r13210 r16723 11 11 <RootNamespace>HeuristicLab.Problems.GeneticProgramming</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Problems.GeneticProgramming-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <TargetFrameworkProfile> 15 15 </TargetFrameworkProfile> … … 238 238 <Content Include="robocode\BattleRunner.java" /> 239 239 </ItemGroup> 240 <ItemGroup> 241 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 242 <SpecificVersion>False</SpecificVersion> 243 <HintPath>..\..\bin\HEAL.Attic.dll</HintPath> 244 <Private>False</Private> 245 </Reference> 246 </ItemGroup> 240 247 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 241 248 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/LawnMower/Interpreter.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/LawnMower/Problem.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 using HeuristicLab.Random; 32 32 33 33 namespace HeuristicLab.Problems.GeneticProgramming.LawnMower { 34 [Storable Class]34 [StorableType("3F72F63C-CBEB-43BD-ADC0-B3F0AD58331B")] 35 35 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 160)] 36 36 [Item("Lawn Mower Problem", "The lawn mower demo problem for genetic programming.")] … … 52 52 #region item cloning and persistence 53 53 [StorableConstructor] 54 protected Problem( bool deserializing) : base(deserializing) { }54 protected Problem(StorableConstructorFlag _) : base(_) { } 55 55 [StorableHook(HookType.AfterDeserialization)] 56 56 private void AfterDeserialization() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/LawnMower/Solution.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.LawnMower { 28 [Storable Class]28 [StorableType("99ADBE85-803D-4463-8BF2-5F825E14F7BD")] 29 29 public sealed class Solution : NamedItem { 30 30 [Storable] … … 39 39 #region item cloning and persistence 40 40 [StorableConstructor] 41 private Solution( bool deserializing) : base(deserializing) { }41 private Solution(StorableConstructorFlag _) : base(_) { } 42 42 [StorableHook(HookType.AfterDeserialization)] 43 43 private void AfterDeserialization() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Plugin.cs.frame
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 40 40 [PluginDependency("HeuristicLab.Optimization", "3.3")] 41 41 [PluginDependency("HeuristicLab.Parameters", "3.3")] 42 [PluginDependency("HeuristicLab. Persistence", "3.3")]42 [PluginDependency("HeuristicLab.Attic", "1.0")] 43 43 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 44 44 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Properties/AssemblyInfo.cs.frame
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/BattleRunner.java
r16692 r16723 1 1 /* HeuristicLab 2 * Copyright (C) 2002-201 6Heuristic and Evolutionary Algorithms Laboratory (HEAL)2 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 3 3 * 4 4 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/EnemyCollection.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Core; 28 28 using HeuristicLab.Data; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 32 32 [Item("EnemyCollection", "A collection of enemy robots for the Robocode genetic programming problem.")] 33 [Storable Class]33 [StorableType("78324566-09C2-4D2F-A54F-79613934D7F1")] 34 34 public class EnemyCollection : CheckedItemList<StringValue> { 35 35 private const string sampleRobotToSelect = "sample.Crazy"; … … 39 39 40 40 [StorableConstructor] 41 protected EnemyCollection( bool deserializing) : base(deserializing) { }41 protected EnemyCollection(StorableConstructorFlag _) : base(_) { } 42 42 protected EnemyCollection(EnemyCollection original, Cloner cloner) 43 43 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Grammar.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("DC5FF90A-AD5A-4A56-8A9B-F117D2B842AD")] 29 29 [Item("Robocode Grammar", "The grammar for the Robocode GP problem.")] 30 30 public class Grammar : SymbolicExpressionGrammar { … … 39 39 40 40 [StorableConstructor] 41 protected Grammar( bool deserializing) : base(deserializing) { }41 protected Grammar(StorableConstructorFlag _) : base(_) { } 42 42 protected Grammar(Grammar original, Cloner cloner) : base(original, cloner) { } 43 43 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Interpreter.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Problem.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 31 [Storable Class]31 [StorableType("0B4FE44B-3044-4531-8CA9-3C4D3BB3A4BB")] 32 32 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 360)] 33 33 [Item("Robocode Problem", "Evolution of a robocode program in java using genetic programming.")] … … 67 67 68 68 [StorableConstructor] 69 protected Problem( bool deserializing) : base(deserializing) { }69 protected Problem(StorableConstructorFlag _) : base(_) { } 70 70 protected Problem(Problem original, Cloner cloner) 71 71 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Solution.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("09AA644E-2092-4108-BAAB-4C0B85C56C07")] 29 29 [Item("Solution", "Robocode program and configuration.")] 30 30 public sealed class Solution : Item { … … 42 42 43 43 [StorableConstructor] 44 private Solution( bool deserializing) : base(deserializing) { }44 private Solution(StorableConstructorFlag _) : base(_) { } 45 45 private Solution(Solution original, Cloner cloner) 46 46 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/BooleanTreeNode.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("93829075-7B5D-4D2D-B297-64AD120B6342")] 29 29 public class BooleanTreeNode : SymbolicExpressionTreeTerminalNode { 30 30 private bool value; … … 36 36 37 37 [StorableConstructor] 38 protected BooleanTreeNode( bool deserializing) : base(deserializing) { }38 protected BooleanTreeNode(StorableConstructorFlag _) : base(_) { } 39 39 protected BooleanTreeNode(BooleanTreeNode original, Cloner cloner) 40 40 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/BooleanValue.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System.Collections.Generic;23 22 using HeuristicLab.Common; 24 23 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 26 25 27 26 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]27 [StorableType("885EE784-E3EC-44D7-B957-A72EBF556F90")] 29 28 public class BooleanValue : Symbol { 30 29 public override int MinimumArity { get { return 0; } } … … 32 31 33 32 [StorableConstructor] 34 protected BooleanValue( bool deserializing) : base(deserializing) { }33 protected BooleanValue(StorableConstructorFlag _) : base(_) { } 35 34 protected BooleanValue(BooleanValue original, Cloner cloner) : base(original, cloner) { } 36 35 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/CodeSymbol.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System.Collections.Generic;23 22 using HeuristicLab.Common; 24 23 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 26 25 27 26 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]27 [StorableType("104E6124-7427-4639-A740-F68384CD8592")] 29 28 // a symbol that can represent any user-defined fragment of code 30 29 public sealed class CodeSymbol : Symbol { … … 39 38 40 39 [StorableConstructor] 41 private CodeSymbol( bool deserializing) : base(deserializing) { }40 private CodeSymbol(StorableConstructorFlag _) : base(_) { } 42 41 private CodeSymbol(CodeSymbol original, Cloner cloner) 43 42 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/Number.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System.Collections.Generic;23 using System.Globalization;24 22 using HeuristicLab.Common; 25 23 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 27 25 28 26 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 29 [Storable Class]27 [StorableType("579762A5-8A48-475F-90E1-E4222E52DC88")] 30 28 public class Number : Symbol { 31 29 public override int MinimumArity { get { return 0; } } … … 33 31 34 32 [StorableConstructor] 35 protected Number( bool deserializing) : base(deserializing) { }33 protected Number(StorableConstructorFlag _) : base(_) { } 36 34 protected Number(Number original, Cloner cloner) : base(original, cloner) { } 37 35 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/NumberTreeNode.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("C2A2B6C5-3320-4231-A1B3-F8B8CF8B03A5")] 29 29 public class NumberTreeNode : SymbolicExpressionTreeTerminalNode { 30 30 private int value; … … 36 36 37 37 [StorableConstructor] 38 protected NumberTreeNode( bool deserializing) : base(deserializing) { }38 protected NumberTreeNode(StorableConstructorFlag _) : base(_) { } 39 39 protected NumberTreeNode(NumberTreeNode original, Cloner cloner) 40 40 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/ShotPower.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System.Collections.Generic;23 using System.Globalization;24 22 using HeuristicLab.Common; 25 23 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 27 25 28 26 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 29 [Storable Class]27 [StorableType("95B53DAD-A47C-49CD-8157-6DF34A750F68")] 30 28 public class ShotPower : Symbol { 31 29 public override int MinimumArity { get { return 0; } } … … 33 31 34 32 [StorableConstructor] 35 protected ShotPower( bool deserializing) : base(deserializing) { }33 protected ShotPower(StorableConstructorFlag _) : base(_) { } 36 34 protected ShotPower(ShotPower original, Cloner cloner) : base(original, cloner) { } 37 35 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/ShotPowerTreeNode.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 29 [Storable Class]29 [StorableType("BF268663-45F4-4E94-8605-33373BE2D612")] 30 30 public class ShotPowerTreeNode : SymbolicExpressionTreeTerminalNode { 31 31 private double value; … … 37 37 38 38 [StorableConstructor] 39 protected ShotPowerTreeNode( bool deserializing) : base(deserializing) { }39 protected ShotPowerTreeNode(StorableConstructorFlag _) : base(_) { } 40 40 protected ShotPowerTreeNode(ShotPowerTreeNode original, Cloner cloner) 41 41 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.