Changeset 18114 for branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/FullFunctionalExpressionGrammar.cs
- Timestamp:
- 12/13/21 10:25:35 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/FullFunctionalExpressionGrammar.cs
r18100 r18114 121 121 number.MinValue = -20; 122 122 number.MaxValue = 20; 123 var variableSymbol = new HeuristicLab.Problems.DataAnalysis.Symbolic.Variable();123 var variableSymbol = new Variable(); 124 124 var binFactorVariable = new BinaryFactorVariable(); 125 125 var factorVariable = new FactorVariable(); … … 130 130 autoregressiveVariable.Enabled = false; 131 131 132 var constant = new Constant();133 134 132 var allSymbols = new List<Symbol>() { add, sub, mul, div, aq, mean, abs, sin, cos, tan, log, square, cube, pow, sqrt, cubeRoot, root, exp, tanh, 135 133 airyA, airyB, bessel, cosineIntegral, dawson, erf, expIntegralEi, fresnelCosineIntegral, fresnelSineIntegral, gamma, hypCosineIntegral, hypSineIntegral, norm, psi, sineIntegral, 136 @if, gt, lt, and, or, not,xor, timeLag, integral, derivative, number, constant,variableSymbol, binFactorVariable, factorVariable, laggedVariable,autoregressiveVariable, variableCondition };134 @if, gt, lt, and, or, not,xor, timeLag, integral, derivative, number, variableSymbol, binFactorVariable, factorVariable, laggedVariable,autoregressiveVariable, variableCondition }; 137 135 var unaryFunctionSymbols = new List<Symbol>() { abs, square, sqrt, cube, cubeRoot, sin, cos, tan, log, exp, tanh, not, timeLag, integral, derivative, 138 136 airyA, airyB, bessel, cosineIntegral, dawson, erf, expIntegralEi, fresnelCosineIntegral, fresnelSineIntegral, gamma, hypCosineIntegral, hypSineIntegral, norm, psi, sineIntegral … … 141 139 var binaryFunctionSymbols = new List<Symbol>() { pow, root, gt, lt, aq, variableCondition }; 142 140 var ternarySymbols = new List<Symbol>() { add, sub, mul, div, mean, and, or, xor }; 143 var terminalSymbols = new List<Symbol>() { variableSymbol, binFactorVariable, factorVariable, number, constant,laggedVariable, autoregressiveVariable };141 var terminalSymbols = new List<Symbol>() { variableSymbol, binFactorVariable, factorVariable, number, laggedVariable, autoregressiveVariable }; 144 142 145 143 foreach (var symb in allSymbols)
Note: See TracChangeset
for help on using the changeset viewer.