Changeset 15289 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/SolutionCreator/PlushCreator.cs
- Timestamp:
- 07/26/17 19:34:13 (7 years ago)
- Location:
- branches/PushGP/HeuristicLab.PushGP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP
-
Property
svn:ignore
set to
*.user
-
Property
svn:ignore
set to
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/SolutionCreator/PlushCreator.cs
r15275 r15289 77 77 get { return (IValueLookupParameter<IntValue>)Parameters["MaxClose"]; } 78 78 } 79 public IValueLookupParameter<DoubleValue> CloseBiasLevel 79 public IValueLookupParameter<DoubleValue> CloseBiasLevelParameter 80 80 { 81 81 get { return (IValueLookupParameter<DoubleValue>)Parameters["CloseBiasLevel"]; } … … 99 99 var minClose = MinCloseParameter.ActualValue.Value; 100 100 var maxClose = MaxCloseParameter.ActualValue.Value; 101 var biasLevel = CloseBiasLevel .ActualValue.Value;101 var biasLevel = CloseBiasLevelParameter.ActualValue.Value; 102 102 103 103 if (minLength > maxLength) … … 111 111 112 112 for (var i = 0; i < length; i++) { 113 var expression = CodeGeneratorUtils.GetRandomExpression(random, ercOptions, instructions, inInstructionProbability); 113 var expression = CodeGeneratorUtils.GetRandomExpression( 114 random, 115 ercOptions, 116 instructions, 117 inInstructionProbability); 118 114 119 var close = random.NextBiased(minClose, maxClose, biasLevel); 115 120
Note: See TracChangeset
for help on using the changeset viewer.