Changeset 14897 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/Digits.cs
- Timestamp:
- 04/28/17 22:52:08 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/Digits.cs
r14875 r14897 1 1 namespace HeuristicLab.BenchmarkSuite.Problems { 2 using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Char; 3 using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Integer; 4 2 5 public class Digits : BenchmarkSuiteDataDescriptor { 3 6 private const string name = "Digits"; … … 22 25 TrainingCount = 100, 23 26 TestCount = 1000, 24 EnabledDataTypes = DataTypes.Exec | DataTypes.Integer | DataTypes.Boolean | DataTypes.Char | DataTypes.String ,27 EnabledDataTypes = DataTypes.Exec | DataTypes.Integer | DataTypes.Boolean | DataTypes.Char | DataTypes.String | DataTypes.Print, 25 28 MaxSize = 300, 26 29 EvalLimit = 600, 27 30 ErcOptions = { 28 31 ErcProbability = 0.05, 29 IntegerErcOptions = { 30 IsEnabled = true, 31 Start = -10, 32 End = 10 33 }, 34 CharErcOptions = { 35 IsEnabled = true, 36 Constants = new [] { '\r' }, 37 } 32 IntegerErcOptions = new IntegerErcOptions( 33 new IntegerRangeErcValue(-10, 10)), 34 CharErcOptions = new CharErcOptions( 35 new IntegerConstantErcValue('\r')) 38 36 } 39 37 }; … … 45 43 OutputArgs = output, 46 44 InputInteger = ExampleArgumentConverter.ConvertIntegers(input[0]), 47 Output String = output,45 OutputPrint = output[0], 48 46 }; 49 47 }
Note: See TracChangeset
for help on using the changeset viewer.