Changeset 15017 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/ProblemData.cs
- Timestamp:
- 06/01/17 09:28:34 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/ProblemData.cs
r14907 r15017 10 10 public class ProblemData : NamedItem { 11 11 12 public ProblemData( ) {12 public ProblemData(ProblemType problemType) { 13 13 Name = "BenchmarkSuite Problem Data"; 14 14 ErcOptions = new ErcOptions(); // default does nothing 15 FloatStringFormat = "R"; 16 ProblemType = problemType; 15 17 } 16 18 … … 31 33 EnabledDataTypes = origin.EnabledDataTypes; 32 34 ErcOptions = cloner.Clone(origin.ErcOptions); 35 FloatStringFormat = origin.FloatStringFormat; 33 36 } 37 38 [Storable] 39 public readonly ProblemType ProblemType; 34 40 35 41 [Storable] … … 71 77 public ErcOptions ErcOptions { get; set; } 72 78 79 [Storable] 80 public string FloatStringFormat { get; set; } 81 73 82 public override IDeepCloneable Clone(Cloner cloner) { 74 83 return new ProblemData(this, cloner);
Note: See TracChangeset
for help on using the changeset viewer.