Changeset 17537


Ignore:
Timestamp:
05/10/20 23:42:05 (3 weeks ago)
Author:
mkommend
Message:

#2971: Reordered known symbols in interval interpreter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/IntervalInterpreter.cs

    r17510 r17537  
    2323using System.Collections.Generic;
    2424using System.Linq;
     25using HEAL.Attic;
    2526using HeuristicLab.Common;
    2627using HeuristicLab.Core;
    2728using HeuristicLab.Data;
    2829using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    29 using HEAL.Attic;
    3030using HeuristicLab.Parameters;
    3131
     
    298298        from n in tree.Root.GetSubtree(0).IterateNodesPrefix()
    299299        where
     300          !(n.Symbol is Problems.DataAnalysis.Symbolic.Variable) &&
     301          !(n.Symbol is Constant) &&
    300302          !(n.Symbol is StartSymbol) &&
    301303          !(n.Symbol is Addition) &&
     
    308310          !(n.Symbol is Logarithm) &&
    309311          !(n.Symbol is Exponential) &&
    310           !(n.Symbol is Power) && //Interval Contains the symbol power, but the DerivativeCalculator does not!
     312          !(n.Symbol is Power) &&
    311313          !(n.Symbol is Square) &&
    312           !(n.Symbol is Root) && //Interval Contains the symbol root, but the DerivativeCalculator does not!
     314          !(n.Symbol is Root) &&
    313315          !(n.Symbol is SquareRoot) &&
    314           !(n.Symbol is Problems.DataAnalysis.Symbolic.Variable) &&
    315           !(n.Symbol is Constant) &&
    316316          !(n.Symbol is Cube) &&
    317317          !(n.Symbol is CubeRoot) &&
Note: See TracChangeset for help on using the changeset viewer.