Ignore:
Timestamp:
11/24/21 13:40:39 (6 months 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/Converters/LinearModelToTreeConverter.cs

    r17180 r18093  
    5858
    5959      if (@const!=0.0) {
    60         ConstantTreeNode cNode = (ConstantTreeNode)new Constant().CreateTreeNode();
     60        NumTreeNode cNode = (NumTreeNode)new Num().CreateTreeNode();
    6161        cNode.Value = @const;
    6262        add.AddSubtree(cNode);
     
    9999
    100100      if (!@const.IsAlmost(0.0)) {
    101         ConstantTreeNode cNode = (ConstantTreeNode)new Constant().CreateTreeNode();
     101        NumTreeNode cNode = (NumTreeNode)new Num().CreateTreeNode();
    102102        cNode.Value = @const;
    103103        addition.AddSubtree(cNode);
     
    130130
    131131      if (!@const.IsAlmost(0.0)) {
    132         ConstantTreeNode cNode = (ConstantTreeNode)new Constant().CreateTreeNode();
     132        NumTreeNode cNode = (NumTreeNode)new Num().CreateTreeNode();
    133133        cNode.Value = @const;
    134134        addition.AddSubtree(cNode);
Note: See TracChangeset for help on using the changeset viewer.