Changeset 18093 for branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/LinearScalingGrammar.cs
 Timestamp:
 11/24/21 13:40:39 (6 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/LinearScalingGrammar.cs
r17958 r18093 66 66 var abs = new Absolute(); 67 67 var aq = new AnalyticQuotient(); 68 var constant = new Constant();68 var constant = new Num(); 69 69 constant.MinValue = 20; 70 70 constant.MaxValue = 20; 71 var number = new RealConstant(); 72 number.MinValue = 20; 73 number.MaxValue = 20; 71 74 var variableSymbol = new Variable(); 72 75 … … 78 81 //all other symbols 79 82 var allSymbols = new List<Symbol> { 80 add, sub, mul, div, constant, variableSymbol, sin, cos, tan, log, square, sqrt, cube, cbrt, exp,83 add, sub, mul, div, constant, number, variableSymbol, sin, cos, tan, log, square, sqrt, cube, cbrt, exp, 81 84 tanh, aq, abs 82 85 }; … … 86 89 var realValueSymbols = new List<Symbol> { 87 90 add, sub, mul, div, sin, cos, tan, tanh, exp, log, aq, abs, square, cube, sqrt, cbrt, 88 variableSymbol, constant, 91 variableSymbol, constant, number 89 92 }; 90 93
Note: See TracChangeset
for help on using the changeset viewer.