Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/13/21 10:25:35 (3 years ago)
Author:
gkronber
Message:

#3140: made several more changes while reviewing the branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3140_NumberSymbol/HeuristicLab.Problems.ExternalEvaluation.GP/3.5/ExternalEvaluationExpressionGrammar.cs

    r18112 r18114  
    6565      number.MinValue = -20;
    6666      number.MaxValue = 20;
    67       var constant = new Constant();
    6867      variableSymbol = new HeuristicLab.Problems.DataAnalysis.Symbolic.Variable();
    6968
    70       var allSymbols = new List<Symbol>() { add, sub, mul, div, mean, sin, cos, tan, log, exp, @if, gt, lt, and, or, not, number, constant, variableSymbol };
     69      var allSymbols = new List<Symbol>() { add, sub, mul, div, mean, sin, cos, tan, log, exp, @if, gt, lt, and, or, not, number, variableSymbol };
    7170      var unaryFunctionSymbols = new List<Symbol>() { sin, cos, tan, log, exp, not };
    7271      var binaryFunctionSymbols = new List<Symbol>() { gt, lt };
     
    8887      SetSubtreeCount(@if, 3, 3);
    8988      SetSubtreeCount(number, 0, 0);
    90       SetSubtreeCount(constant,0, 0);
    9189      SetSubtreeCount(variableSymbol, 0, 0);
    9290
Note: See TracChangeset for help on using the changeset viewer.