Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/09/21 14:28:17 (3 years ago)
Author:
chaider
Message:

#3140

  • Adding INumericSymbol and INumericTreeNode
  • Using the new interfaces inside of interpreters and formatters
  • Renaming Num to Number, RealConstant to Constant
  • More classes refactored
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3140_NumberSymbol/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicExpressionGrammar.cs

    r17413 r18112  
    8181          var constVal = rand.NextDouble() * 20.0 - 10.0;
    8282          constant.Name = string.Format("{0:0.000}", constVal);
    83           constant.MinValue = constVal;
    84           constant.MaxValue = constVal;
    85           constant.ManipulatorSigma = 0.0;
    86           constant.ManipulatorMu = 0.0;
    87           constant.MultiplicativeManipulatorSigma = 0.0;
    8883        } while (constants.Any(c => c.Name == constant.Name)); // unlikely, but it could happen that the same constant value is sampled twice. so we resample if necessary.
    8984        constants.Add(constant);
Note: See TracChangeset for help on using the changeset viewer.