Changeset 14897 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/StringLengthsBackwards.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/StringLengthsBackwards.cs
r14875 r14897 1 1 namespace HeuristicLab.BenchmarkSuite.Problems { 2 using HeuristicLab.Problems.ProgramSynthesis.Base.Erc ;2 using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Integer; 3 3 4 4 public class StringLengthsBackwards : BenchmarkSuiteDataDescriptor { 5 5 private const string name = "String Length Backwards"; 6 private const string fileName = "StringLength Backwards.csv";6 private const string fileName = "StringLengthsBackwards.csv"; 7 7 private const string description = "Given a vector of strings, print the length of each string in the vector starting with the last and ending with the first."; 8 8 … … 24 24 TrainingCount = 100, 25 25 TestCount = 1000, 26 EnabledDataTypes = DataTypes.Exec | DataTypes.Integer | DataTypes.Boolean | DataTypes.String | DataTypes.StringVector ,26 EnabledDataTypes = DataTypes.Exec | DataTypes.Integer | DataTypes.Boolean | DataTypes.String | DataTypes.StringVector | DataTypes.Print, 27 27 MaxSize = 300, 28 28 EvalLimit = 600, 29 29 ErcOptions = { 30 30 ErcProbability = 0.05, 31 IntegerErcOptions = { 32 IsEnabled = true, 33 Start = -100, 34 End = 100 35 } 31 IntegerErcOptions = new IntegerErcOptions( 32 new IntegerRangeErcValue(-100, 100)) 36 33 } 37 34 }; … … 43 40 OutputArgs = output, 44 41 InputStringVector = new[] { ExampleArgumentConverter.ConvertStringVector(input[0]) }, 45 Output String = output,42 OutputPrint = output[0], 46 43 }; 47 44 }
Note: See TracChangeset
for help on using the changeset viewer.