Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/21/13 15:21:04 (11 years ago)
Author:
ascheibe
Message:

#2069

  • changed Solution from NamedItem to Item
  • adapted views to be only ItemViews
  • some more minor improvements
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Solution.cs

    r9879 r9890  
    2727namespace HeuristicLab.Problems.Robocode {
    2828  [StorableClass]
    29   public sealed class Solution : NamedItem {
     29  [Item("Solution", "A Robocode program.")]
     30  public sealed class Solution : Item {
    3031    [Storable]
    3132    public ISymbolicExpressionTree Tree { get; set; }
     
    3940      : base(original, cloner) {
    4041      Tree = cloner.Clone(original.Tree);
    41       Path = original.Path;
     42      Path = (string)original.Path.Clone();
    4243    }
    4344
    4445    public Solution(ISymbolicExpressionTree tree, string path)
    45       : base("Solution", "A Robocode program.") {
     46      : base() {
    4647      this.Tree = tree;
    4748      this.Path = path;
Note: See TracChangeset for help on using the changeset viewer.