Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/21 13:40:39 (2 years ago)
Author:
chaider
Message:

#3041

  • Renaming Constant Symbol to Num, behaves like before
  • Adding new Symbol RealConstant (Constant), this symbol behaves now like a real constant, won't be changed by parameter optimization or manipulators
  • Refactored classes part1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/IntervalArithBoundsEstimator.cs

    r17964 r18093  
    127127          }
    128128        case OpCodes.Constant: {
    129             var constTreeNode = (ConstantTreeNode)currentInstr.dynamicNode;
     129            var constTreeNode = (NumTreeNode)currentInstr.dynamicNode;
    130130            result = new Interval(constTreeNode.Value, constTreeNode.Value);
    131131            break;
     
    324324        where
    325325          !(n.Symbol is Variable) &&
    326           !(n.Symbol is Constant) &&
     326          !(n.Symbol is Num) &&
     327          !(n.Symbol is RealConstant) &&
    327328          !(n.Symbol is StartSymbol) &&
    328329          !(n.Symbol is Addition) &&
Note: See TracChangeset for help on using the changeset viewer.