- Timestamp:
- 08/21/13 15:21:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Solution.cs
r9879 r9890 27 27 namespace HeuristicLab.Problems.Robocode { 28 28 [StorableClass] 29 public sealed class Solution : NamedItem { 29 [Item("Solution", "A Robocode program.")] 30 public sealed class Solution : Item { 30 31 [Storable] 31 32 public ISymbolicExpressionTree Tree { get; set; } … … 39 40 : base(original, cloner) { 40 41 Tree = cloner.Clone(original.Tree); 41 Path = original.Path;42 Path = (string)original.Path.Clone(); 42 43 } 43 44 44 45 public Solution(ISymbolicExpressionTree tree, string path) 45 : base( "Solution", "A Robocode program.") {46 : base() { 46 47 this.Tree = tree; 47 48 this.Path = path;
Note: See TracChangeset
for help on using the changeset viewer.