- Timestamp:
- 12/16/21 09:37:01 (3 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/3140_NumberSymbol merged: 18135
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Problems.GrammaticalEvolution
- Property svn:mergeinfo changed
/branches/3140_NumberSymbol/HeuristicLab.Problems.GrammaticalEvolution merged: 18135
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicExpressionGrammar.cs
r18132 r18136 81 81 var constVal = rand.NextDouble() * 20.0 - 10.0; 82 82 constant.Name = string.Format("{0:0.000}", constVal); 83 constant.Value = constVal; 83 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. 84 85 constants.Add(constant);
Note: See TracChangeset
for help on using the changeset viewer.