Changeset 15017 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Generators/CodeGenerator
- Timestamp:
- 06/01/17 09:28:34 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Generators/CodeGenerator/CodeGeneratorUtils.cs
r14897 r15017 96 96 : new CharPushExpression(ercOptions.CharErcOptions.GetErcValue(random)); 97 97 98 case StackTypes.IntegerVector: 99 return ercOptions.IntegerVectorErcOptions == null || !ercOptions.IntegerVectorErcOptions.IsEnabled 100 ? Noop 101 : new IntegerVectorPushExpression(ercOptions.IntegerVectorErcOptions.GetErcValue(random).Select(i => (long)i).ToList()); 102 103 case StackTypes.FloatVector: 104 return ercOptions.FloatVectorErcOptions == null || !ercOptions.FloatVectorErcOptions.IsEnabled 105 ? Noop 106 : new FloatVectorPushExpression(ercOptions.FloatVectorErcOptions.GetErcValue(random)); 107 108 case StackTypes.StringVector: 109 return ercOptions.StringVectorErcOptions == null || !ercOptions.StringVectorErcOptions.IsEnabled 110 ? Noop 111 : new StringVectorPushExpression(ercOptions.StringVectorErcOptions.GetErcValue(random)); 112 98 113 default: 99 114 return Noop;
Note: See TracChangeset
for help on using the changeset viewer.