Free cookie consent management tool by TermsFeed Policy Generator

Changeset 18121


Ignore:
Timestamp:
12/15/21 09:58:08 (3 years ago)
Author:
gkronber
Message:

#3140: enable number instead of constant for default configurations in TypeCoherentExpressionGrammar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/TypeCoherentExpressionGrammar.cs

    r18116 r18121  
    250250      Symbols.First(s => s.Name == ConditionalSymbolsName).Enabled = false;
    251251      Symbols.First(s => s.Name == TimeSeriesSymbolsName).Enabled = false;
    252       Symbols.First(s => s is Constant).Enabled = false;
     252      Symbols.First(s => s is Number).Enabled = false;
    253253    }
    254254
     
    264264      Symbols.First(s => s.Name == PowerFunctionsName).Enabled = false;
    265265      Symbols.First(s => s.Name == TimeSeriesSymbolsName).Enabled = false;
    266       Symbols.First(s => s is Constant).Enabled = false;
     266      Symbols.First(s => s is Number).Enabled = false;
    267267    }
    268268
     
    281281      Symbols.First(s => s is Integral).Enabled = false;
    282282      Symbols.First(s => s is TimeLag).Enabled = false;
    283       Symbols.First(s => s is Constant).Enabled = false;
     283      Symbols.First(s => s is Number).Enabled = false;
    284284    }
    285285  }
Note: See TracChangeset for help on using the changeset viewer.