Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/02/13 15:11:53 (11 years ago)
Author:
ascheibe
Message:

#2069

  • renamed path parameter to robocode path
  • made number of rounds configurable
File:
1 edited

Legend:

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

    r9890 r9926  
    3535    public string Path { get; set; }
    3636
     37    [Storable]
     38    public int NrOfRounds { get; set; }
     39
    3740    [StorableConstructor]
    3841    private Solution(bool deserializing) : base(deserializing) { }
     
    4144      Tree = cloner.Clone(original.Tree);
    4245      Path = (string)original.Path.Clone();
     46      NrOfRounds = original.NrOfRounds;
    4347    }
    4448
    45     public Solution(ISymbolicExpressionTree tree, string path)
     49    public Solution(ISymbolicExpressionTree tree, string path, int nrOfRounds)
    4650      : base() {
    4751      this.Tree = tree;
    4852      this.Path = path;
     53      this.NrOfRounds = nrOfRounds;
    4954    }
    5055
Note: See TracChangeset for help on using the changeset viewer.