Changeset 5384 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/FullFunctionalExpressionGrammar.cs
- Timestamp:
- 01/27/11 10:26:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/FullFunctionalExpressionGrammar.cs
r5373 r5384 54 54 var log = new Logarithm(); 55 55 var pow = new Power(); 56 pow.InitialFrequency = 0.0; 57 var root = new Root(); 58 root.InitialFrequency = 0.0; 56 59 var exp = new Exponential(); 57 60 var @if = new IfThenElse(); … … 76 79 laggedVariable.InitialFrequency = 0.0; 77 80 78 var allSymbols = new List<Symbol>() { add, sub, mul, div, mean, sin, cos, tan, log, pow, exp, @if, gt, lt, and, or, not, timeLag, integral, derivative, constant, variableSymbol, laggedVariable };81 var allSymbols = new List<Symbol>() { add, sub, mul, div, mean, sin, cos, tan, log, pow, root, exp, @if, gt, lt, and, or, not, timeLag, integral, derivative, constant, variableSymbol, laggedVariable }; 79 82 var unaryFunctionSymbols = new List<Symbol>() { sin, cos, tan, log, exp, not, timeLag, integral, derivative }; 80 83 81 var binaryFunctionSymbols = new List<Symbol>() { pow, gt, lt };84 var binaryFunctionSymbols = new List<Symbol>() { pow, root, gt, lt }; 82 85 var functionSymbols = new List<Symbol>() { add, sub, mul, div, mean, and, or }; 83 86 var terminalSymbols = new List<Symbol>() { variableSymbol, constant, laggedVariable };
Note: See TracChangeset
for help on using the changeset viewer.