Changeset 18180 for branches/3138_Shape_Constraints_Transformations/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicExpressionGrammar.cs
- Timestamp:
- 01/10/22 10:15:25 (2 years ago)
- Location:
- branches/3138_Shape_Constraints_Transformations
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3138_Shape_Constraints_Transformations
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Problems.GrammaticalEvolution
- Property svn:mergeinfo changed
/branches/3140_NumberSymbol/HeuristicLab.Problems.GrammaticalEvolution (added) merged: 18112,18135 /trunk/HeuristicLab.Problems.GrammaticalEvolution (added) merged: 18132,18136
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicExpressionGrammar.cs
r17413 r18180 81 81 var constVal = rand.NextDouble() * 20.0 - 10.0; 82 82 constant.Name = string.Format("{0:0.000}", constVal); 83 constant.MinValue = constVal; 84 constant.MaxValue = constVal; 85 constant.ManipulatorSigma = 0.0; 86 constant.ManipulatorMu = 0.0; 87 constant.MultiplicativeManipulatorSigma = 0.0; 83 constant.Value = constVal; 88 84 } while (constants.Any(c => c.Name == constant.Name)); // unlikely, but it could happen that the same constant value is sampled twice. so we resample if necessary. 89 85 constants.Add(constant);
Note: See TracChangeset
for help on using the changeset viewer.