Changeset 11458 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars
- Timestamp:
- 10/13/14 13:03:24 (10 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4
- Property svn:ignore
-
old new 5 5 TreeDistance 6 6 SymbolicDataAnalysisExpressionTreeMatching.cs 7 Importer
-
- Property svn:ignore
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/TypeCoherentExpressionGrammar.cs
r11208 r11458 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.Problems.DataAnalysis.Symbolic.Symbols; 29 28 30 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 29 31 [StorableClass] … … 86 88 var psi = new Psi(); 87 89 var sineIntegral = new SineIntegral(); 90 var passthrough = new Passthrough(); 88 91 89 92 var @if = new IfThenElse(); … … 113 116 var exponentialAndLogarithmicSymbols = new GroupSymbol(ExponentialFunctionsName, new List<ISymbol> { exp, log }); 114 117 var specialFunctions = new GroupSymbol(SpecialFunctionsName, new List<ISymbol> { airyA, airyB, bessel, cosineIntegral, dawson, erf, expIntegralEi, 115 fresnelCosineIntegral,fresnelSineIntegral,gamma,hypCosineIntegral,hypSineIntegral,norm, psi, sineIntegral });118 fresnelCosineIntegral,fresnelSineIntegral,gamma,hypCosineIntegral,hypSineIntegral,norm, psi, sineIntegral, passthrough}); 116 119 var terminalSymbols = new GroupSymbol(TerminalsName, new List<ISymbol> { constant, variableSymbol }); 117 120 var realValuedSymbols = new GroupSymbol(RealValuedSymbolsName, new List<ISymbol>() { arithmeticSymbols, trigonometricSymbols, exponentialAndLogarithmicSymbols, specialFunctions, terminalSymbols }); … … 156 159 SetSubtreeCount(laggedVariable, 0, 0); 157 160 SetSubtreeCount(autoregressiveVariable, 0, 0); 161 SetSubtreeCount(passthrough, 1, 1); 158 162 #endregion 159 163 … … 224 228 AddAllowedChildSymbol(derivative, powerSymbols); 225 229 AddAllowedChildSymbol(derivative, conditionSymbols); 230 231 AddAllowedChildSymbol(passthrough, realValuedSymbols); 232 AddAllowedChildSymbol(passthrough, powerSymbols); 233 AddAllowedChildSymbol(passthrough, conditionSymbols); 234 AddAllowedChildSymbol(passthrough, timeSeriesSymbols); 235 AddAllowedChildSymbol(passthrough, specialFunctions); 226 236 #endregion 227 237 }
Note: See TracChangeset
for help on using the changeset viewer.