- Timestamp:
- 12/13/21 10:25:35 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.Problems.ExternalEvaluation.GP/3.5/ExternalEvaluationExpressionGrammar.cs
r18112 r18114 65 65 number.MinValue = -20; 66 66 number.MaxValue = 20; 67 var constant = new Constant();68 67 variableSymbol = new HeuristicLab.Problems.DataAnalysis.Symbolic.Variable(); 69 68 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 }; 71 70 var unaryFunctionSymbols = new List<Symbol>() { sin, cos, tan, log, exp, not }; 72 71 var binaryFunctionSymbols = new List<Symbol>() { gt, lt }; … … 88 87 SetSubtreeCount(@if, 3, 3); 89 88 SetSubtreeCount(number, 0, 0); 90 SetSubtreeCount(constant,0, 0);91 89 SetSubtreeCount(variableSymbol, 0, 0); 92 90
Note: See TracChangeset
for help on using the changeset viewer.