- Timestamp:
- 01/28/11 15:26:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/TypeCoherentExpressionGrammar.cs
r5333 r5393 20 20 #endregion 21 21 22 using System.Collections.Generic; 22 23 using System.Linq; 23 using System.Collections.Generic;24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; … … 55 55 var log = new Logarithm(); 56 56 var pow = new Power(); 57 pow.InitialFrequency = 0.0; 58 var root = new Root(); 59 root.InitialFrequency = 0.0; 57 60 var exp = new Exponential(); 58 61 var @if = new IfThenElse(); … … 62 65 var or = new Or(); 63 66 var not = new Not(); 67 68 var timeLag = new TimeLag(); 69 timeLag.InitialFrequency = 0.0; 70 var integral = new Integral(); 71 integral.InitialFrequency = 0.0; 72 var derivative = new Derivative(); 73 derivative.InitialFrequency = 0.0; 74 64 75 var constant = new Constant(); 65 76 constant.MinValue = -20; … … 95 106 */ 96 107 97 var allSymbols = new List<Symbol>() { add, sub, mul, div, mean, sin, cos, tan, log, pow, exp, @if, gt, lt, and, or, not, constant, variableSymbol, laggedVariable };108 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 }; 98 109 99 var unaryFunctionSymbols = new List<Symbol>() { sin, cos, tan, log, exp, };100 var binaryFunctionSymbols = new List<Symbol>() { add, sub, mul, div, mean, pow };110 var unaryFunctionSymbols = new List<Symbol>() { sin, cos, tan, log, exp, timeLag, integral, derivative }; 111 var binaryFunctionSymbols = new List<Symbol>() { add, sub, mul, div, mean, pow, root }; 101 112 102 113 var unaryBooleanFunctionSymbols = new List<Symbol>() { not };
Note: See TracChangeset
for help on using the changeset viewer.