Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode
- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/EnemyCollection.cs
r14185 r14927 27 27 using HeuristicLab.Core; 28 28 using HeuristicLab.Data; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 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("a5f3037a-bd69-40ed-aea1-b48d393d99fb")] 34 34 public class EnemyCollection : CheckedItemList<StringValue> { 35 35 private const string sampleRobotToSelect = "sample.Crazy"; … … 71 71 robotList.SetItemCheckedState(robot, false); 72 72 } 73 } 74 catch { } 73 } catch { } 75 74 76 75 //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 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("555b3156-cc70-48d7-ba03-b6ac782ac1db")] 29 29 [Item("Robocode Grammar", "The grammar for the Robocode GP problem.")] 30 30 public class Grammar : SymbolicExpressionGrammar { -
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Problem.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 31 [Storable Class]31 [StorableType("9a97af49-4cd3-420f-af67-372a4471512c")] 32 32 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 360)] 33 33 [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 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("153c65f3-e0c3-412f-96a0-c5e0cbb3a068")] 29 29 [Item("Solution", "Robocode program and configuration.")] 30 30 public sealed class Solution : Item { -
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/BooleanTreeNode.cs
r14185 r14927 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("76874b36-2080-4aca-b69d-08ee3c9f3893")] 29 29 public class BooleanTreeNode : SymbolicExpressionTreeTerminalNode { 30 30 private bool value; -
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/BooleanValue.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("55e654cc-d027-4d54-a335-edaec07c32d3")] 29 29 public class BooleanValue : Symbol { 30 30 public override int MinimumArity { get { return 0; } } -
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/CodeSymbol.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("dea9e2d1-f55d-403e-81e8-781491c20dbe")] 29 29 // a symbol that can represent any user-defined fragment of code 30 30 public sealed class CodeSymbol : Symbol { -
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/Number.cs
r14185 r14927 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 29 [Storable Class]29 [StorableType("4c78cf3c-2dd8-4904-abe9-0c74f8d50386")] 30 30 public class Number : Symbol { 31 31 public override int MinimumArity { get { return 0; } } -
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/NumberTreeNode.cs
r14185 r14927 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 28 [Storable Class]28 [StorableType("9453f738-3774-48d9-9fbf-141643ca1865")] 29 29 public class NumberTreeNode : SymbolicExpressionTreeTerminalNode { 30 30 private int value; -
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/ShotPower.cs
r14185 r14927 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 29 [Storable Class]29 [StorableType("2fc0fded-8434-4fbc-b88e-44bff94f852b")] 30 30 public class ShotPower : Symbol { 31 31 public override int MinimumArity { get { return 0; } } -
branches/PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Symbols/ShotPowerTreeNode.cs
r14185 r14927 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Problems.GeneticProgramming.Robocode { 29 [Storable Class]29 [StorableType("391aabd9-f3aa-4ff9-a902-c858064e2bca")] 30 30 public class ShotPowerTreeNode : SymbolicExpressionTreeTerminalNode { 31 31 private double value;
Note: See TracChangeset
for help on using the changeset viewer.