Changeset 14733 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite
- Timestamp:
- 03/08/17 11:57:42 (8 years ago)
- Location:
- branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/HeuristicLab.BenchmarkSuite.csproj
r14727 r14733 59 59 <SpecificVersion>False</SpecificVersion> 60 60 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath> 61 </Reference> 62 <Reference Include="HeuristicLab.Persistence-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 63 <SpecificVersion>False</SpecificVersion> 64 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Persistence-3.3.dll</HintPath> 61 65 </Reference> 62 66 <Reference Include="HeuristicLab.PluginInfrastructure-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> -
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/Data.cs
r14727 r14733 2 2 using System.Linq; 3 3 4 using HeuristicLab.Common; 5 using HeuristicLab.Core; 4 using Common; 5 using Core; 6 using Persistence.Default.CompositeSerializers.Storable; 6 7 8 [StorableClass] 7 9 public class Data : NamedItem { 8 10 public Data(double bestResult, double worstResult, int testCount, int trainingCount, … … 20 22 } 21 23 24 [StorableConstructor] 25 public Data(bool deserializing) : base(deserializing) { } 26 22 27 public Data(Data origin, Cloner cloner) : base(origin, cloner) { 23 28 this.BestResult = origin.BestResult; … … 28 33 } 29 34 35 [Storable] 30 36 public readonly IExampleParser ExampleParser; 37 [Storable] 31 38 public readonly Example[] Examples; 39 [Storable] 32 40 public readonly int OriginalTestCount; 41 [Storable] 33 42 public readonly int OriginalTrainingCount; 43 [Storable] 34 44 public readonly double WorstResult; 45 [Storable] 35 46 public readonly double BestResult; 47 [Storable] 36 48 public readonly int InputArgumentCount; 49 [Storable] 37 50 public readonly int OutputArgumentCount; 38 51 -
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/Example.cs
r14727 r14733 2 2 3 3 using HeuristicLab.Common; 4 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 4 5 6 [StorableClass] 5 7 public class Example : DeepCloneable { 6 8 public Example() { … … 17 19 } 18 20 21 [StorableConstructor] 22 public Example(bool deserializing) { } 23 19 24 public void CopyTo(Example example) { 20 25 example.InputArgs = this.InputArgs; … … 30 35 } 31 36 37 [Storable] 32 38 public string[] InputArgs { get; set; } 39 [Storable] 33 40 public string[] OutputArgs { get; set; } 41 [Storable] 34 42 public long[] InputInt { get; set; } 43 [Storable] 35 44 public double[] InputFloat { get; set; } 45 [Storable] 36 46 public bool[] InputBoolean { get; set; } 47 [Storable] 37 48 public long[] OutputInt { get; set; } 49 [Storable] 38 50 public double[] OutputFloat { get; set; } 51 [Storable] 39 52 public bool[] OutputBoolean { get; set; } 40 41 53 42 54 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.