- Timestamp:
- 09/11/13 15:21:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Solution.cs
r9926 r9947 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Data; 24 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 38 39 public int NrOfRounds { get; set; } 39 40 41 [Storable] 42 public ICheckedItemList<StringValue> Enemies { get; set; } 43 40 44 [StorableConstructor] 41 45 private Solution(bool deserializing) : base(deserializing) { } … … 45 49 Path = (string)original.Path.Clone(); 46 50 NrOfRounds = original.NrOfRounds; 51 Enemies = cloner.Clone(original.Enemies); 47 52 } 48 53 49 public Solution(ISymbolicExpressionTree tree, string path, int nrOfRounds )54 public Solution(ISymbolicExpressionTree tree, string path, int nrOfRounds, ICheckedItemList<StringValue> enemies) 50 55 : base() { 51 56 this.Tree = tree; 52 57 this.Path = path; 53 58 this.NrOfRounds = nrOfRounds; 59 this.Enemies = enemies; 54 60 } 55 61
Note: See TracChangeset
for help on using the changeset viewer.