Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
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.