Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/08/17 11:57:42 (7 years ago)
Author:
pkimmesw
Message:

#2665 Storable problem data, Renamings due to typos, Removed GP from class names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/Data.cs

    r14727 r14733  
    22  using System.Linq;
    33
    4   using HeuristicLab.Common;
    5   using HeuristicLab.Core;
     4  using Common;
     5  using Core;
     6  using Persistence.Default.CompositeSerializers.Storable;
    67
     8  [StorableClass]
    79  public class Data : NamedItem {
    810    public Data(double bestResult, double worstResult, int testCount, int trainingCount,
     
    2022    }
    2123
     24    [StorableConstructor]
     25    public Data(bool deserializing) : base(deserializing) { }
     26
    2227    public Data(Data origin, Cloner cloner) : base(origin, cloner) {
    2328      this.BestResult = origin.BestResult;
     
    2833    }
    2934
     35    [Storable]
    3036    public readonly IExampleParser ExampleParser;
     37    [Storable]
    3138    public readonly Example[] Examples;
     39    [Storable]
    3240    public readonly int OriginalTestCount;
     41    [Storable]
    3342    public readonly int OriginalTrainingCount;
     43    [Storable]
    3444    public readonly double WorstResult;
     45    [Storable]
    3546    public readonly double BestResult;
     47    [Storable]
    3648    public readonly int InputArgumentCount;
     49    [Storable]
    3750    public readonly int OutputArgumentCount;
    3851
Note: See TracChangeset for help on using the changeset viewer.