Changeset 9459
 Timestamp:
 05/07/13 13:05:27 (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/TypeCoherentExpressionGrammar.cs
r9456 r9459 158 158 #region allowed child symbols configuration 159 159 AddAllowedChildSymbol(StartSymbol, realValuedSymbols); 160 AddAllowedChildSymbol(StartSymbol, powerSymbols); 161 AddAllowedChildSymbol(StartSymbol, conditionSymbols); 162 AddAllowedChildSymbol(StartSymbol, timeSeriesSymbols); 163 AddAllowedChildSymbol(StartSymbol, specialFunctions); 164 160 165 AddAllowedChildSymbol(DefunSymbol, realValuedSymbols); 166 AddAllowedChildSymbol(DefunSymbol, powerSymbols); 167 AddAllowedChildSymbol(DefunSymbol, conditionSymbols); 168 AddAllowedChildSymbol(DefunSymbol, timeSeriesSymbols); 169 AddAllowedChildSymbol(DefunSymbol, specialFunctions); 161 170 162 171 AddAllowedChildSymbol(realValuedSymbols, realValuedSymbols); … … 168 177 AddAllowedChildSymbol(powerSymbols, variableSymbol, 0); 169 178 AddAllowedChildSymbol(powerSymbols, laggedVariable, 0); 179 AddAllowedChildSymbol(powerSymbols, autoregressiveVariable, 0); 170 180 AddAllowedChildSymbol(powerSymbols, constant, 1); 181 171 182 AddAllowedChildSymbol(square, realValuedSymbols, 0); 183 AddAllowedChildSymbol(square, conditionSymbols, 0); 184 AddAllowedChildSymbol(square, timeSeriesSymbols, 0); 185 172 186 AddAllowedChildSymbol(sqrt, realValuedSymbols, 0); 187 AddAllowedChildSymbol(sqrt, conditionSymbols, 0); 188 AddAllowedChildSymbol(sqrt, timeSeriesSymbols, 0); 173 189 174 190 AddAllowedChildSymbol(@if, comparisonSymbols, 0); … … 235 251 Symbols.First(s => s.Name == SpecialFunctionsName).Enabled = false; 236 252 253 237 254 Symbols.First(s => s.Name == TimeSeriesSymbolsName).Enabled = true; 238 255 Symbols.First(s => s is Derivative).Enabled = false;
Note: See TracChangeset
for help on using the changeset viewer.