Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/EnemyCollection.cs
r16453 r16462 27 27 using HeuristicLab.Core; 28 28 using HeuristicLab.Data; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Grammar.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Problem.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Solution.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/BooleanTreeNode.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/BooleanValue.cs
r16453 r16462 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.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/CodeSymbol.cs
r16453 r16462 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.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/Number.cs
r16453 r16462 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.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/NumberTreeNode.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/ShotPower.cs
r16453 r16462 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.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/ShotPowerTreeNode.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 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.