Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10398 for branches


Ignore:
Timestamp:
01/26/14 03:59:12 (11 years ago)
Author:
bburlacu
Message:

#1837: Added private members with the [Storable] attribute for the SlidingWindowBestSolutionsCollection ProblemData and Interpreter properties. Added item attributes to SlidingWindowBestSolutionsCollection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SlidingWindow/SlidingWindowBestSolutionsCollection.cs

    r10396 r10398  
    2929namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
    3030  [StorableClass]
    31   [Item("", "")]
     31  [Item("SlidingWindowBestSolutionsCollection", "An object holding a collection of the best sliding window solutions.")]
    3232  public abstract class SlidingWindowBestSolutionsCollection : Item {
    3333    [Storable]
     
    4242      get { return slidingWindowPositions; }
    4343    }
    44     public IDataAnalysisProblemData ProblemData { get; set; }
    45     public ISymbolicDataAnalysisExpressionTreeInterpreter Interpreter { get; set; }
     44
     45    [Storable]
     46    private IDataAnalysisProblemData problemData;
     47    public IDataAnalysisProblemData ProblemData {
     48      get { return problemData; }
     49      set { problemData = value; }
     50    }
     51
     52    [Storable]
     53    private ISymbolicDataAnalysisExpressionTreeInterpreter interpreter;
     54    public ISymbolicDataAnalysisExpressionTreeInterpreter Interpreter {
     55      get { return interpreter; }
     56      set { interpreter = value; }
     57    }
    4658
    4759    protected SlidingWindowBestSolutionsCollection(SlidingWindowBestSolutionsCollection original, Cloner cloner)
    4860      : base(original, cloner) {
     61      this.bestSolutions = original.BestSolutions;
     62      this.slidingWindowPositions = original.SlidingWindowPositions;
     63      this.ProblemData = original.ProblemData;
     64      this.Interpreter = original.Interpreter;
    4965    }
    5066    protected SlidingWindowBestSolutionsCollection() {
Note: See TracChangeset for help on using the changeset viewer.