Changeset 15273 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Generators/CodeGenerator/RecursiveCodeGenerator.cs
- Timestamp:
- 07/19/17 12:55:58 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Generators/CodeGenerator/RecursiveCodeGenerator.cs
r15189 r15273 49 49 private static IEnumerable<Expression> RandomCodeWithSize(int points, IRandom random, IReadOnlyPushConfiguration pushConfiguration, IDictionary<string, Expression> customExpressions = null) { 50 50 if (points == 1) { 51 return new[] { CodeGeneratorUtils. CreateExpressionOrErc(51 return new[] { CodeGeneratorUtils.MapToExpression( 52 52 random, 53 pushConfiguration.EnabledExpressions,54 53 pushConfiguration.ErcOptions, 54 pushConfiguration, 55 55 customExpressions) 56 56 };
Note: See TracChangeset
for help on using the changeset viewer.