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/OpCodes.cs

    r17963 r18093  
    4646    Variable = 18,
    4747    LagVariable = 19,
    48     Constant = 20,
     48    Num = 20,
    4949    Arg = 21,
    5050    Power = 22,
     
    7979    CubeRoot = 51,
    8080    Tanh = 52,
     81    Constant = 53
    8182  };
    8283  public static class OpCodes {
     
    101102    public const byte Variable = (byte)OpCode.Variable;
    102103    public const byte LagVariable = (byte)OpCode.LagVariable;
    103     public const byte Constant = (byte)OpCode.Constant;
     104    public const byte Number = (byte)OpCode.Num;
     105    public const byte Constant = (byte) OpCode.Constant;
    104106    public const byte Arg = (byte)OpCode.Arg;
    105107    public const byte Power = (byte)OpCode.Power;
     
    159161      { typeof(LaggedVariable), OpCodes.LagVariable },
    160162      { typeof(AutoregressiveTargetVariable),OpCodes.LagVariable},
    161       { typeof(Constant), OpCodes.Constant },
     163      { typeof(Num), OpCodes.Number },
     164      { typeof(RealConstant), OpCodes.Constant },
    162165      { typeof(Argument), OpCodes.Arg },
    163166      { typeof(Power),OpCodes.Power},
Note: See TracChangeset for help on using the changeset viewer.