Changeset 15017 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Configuration
- Timestamp:
- 06/01/17 09:28:34 (8 years ago)
- Location:
- branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Configuration
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Configuration/IReadonlyPushConfiguration.cs
r14897 r15017 11 11 int MaxStringLength { get; } 12 12 int MaxVectorLength { get; } 13 int MinPointsInProgram { get; }14 13 int MaxPointsInProgram { get; } 15 14 int MaxPointsInRandomExpression { get; } 16 15 bool TopLevelPushCode { get; } 17 16 bool TopLevelPopCode { get; } 17 int MaxParenthesesClose { get; } 18 double ParenthesesCloseBiasLevel { get; } 18 19 IReadOnlyErcOptions ErcOptions { get; } 19 20 IReadOnlyList<string> EnabledExpressions { get; } 21 string FloatStringFormat { get; } 20 22 } 21 23 } -
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Configuration/PushConfiguration.cs
r14909 r15017 25 25 TopLevelPopCode = false; 26 26 MaxPointsInRandomExpression = 64; 27 MaxStringLength = 128; 28 MaxVectorLength = 64; 29 MaxDepth = 32; 27 MaxStringLength = 1000; 28 MaxVectorLength = 500; 29 MaxDepth = 100; 30 FloatStringFormat = "R"; 31 MaxParenthesesClose = 4; 32 ParenthesesCloseBiasLevel = 1; 30 33 31 34 InitEnabledStacks(); … … 58 61 MaxVectorLength = origin.MaxVectorLength; 59 62 MaxDepth = origin.MaxDepth; 63 FloatStringFormat = origin.FloatStringFormat; 64 MaxParenthesesClose = origin.MaxParenthesesClose; 65 ParenthesesCloseBiasLevel = origin.ParenthesesCloseBiasLevel; 60 66 } 61 67 … … 67 73 } 68 74 75 [Storable] 76 public string FloatStringFormat { get; set; } 69 77 70 78 [Storable] … … 92 100 } 93 101 } 94 95 102 IReadOnlyList<string> IReadOnlyPushConfiguration.EnabledExpressions { get { return enabledExpressions; } } 103 104 [Storable] 105 public int MaxParenthesesClose { get; set; } 106 [Storable] 107 public double ParenthesesCloseBiasLevel { get; set; } 108 96 109 97 110 [Storable]
Note: See TracChangeset
for help on using the changeset viewer.