Changeset 17650 for branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 07/07/20 12:05:41 (4 years ago)
- Location:
- branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/DerivativeCalculator.cs
r17180 r17650 265 265 !(n.Symbol is Absolute) && 266 266 !(n.Symbol is AnalyticQuotient) && 267 !(n.Symbol is HyperbolicTangent) && 267 268 !(n.Symbol is Sine) && 268 269 !(n.Symbol is Cosine) && -
branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/IntervalArithmeticGrammar.cs
r17628 r17650 1 1 using System.Collections.Generic; 2 using System.Linq; 2 3 using HEAL.Attic; 3 4 using HeuristicLab.Common; … … 39 40 var root = new Root(); 40 41 var sqrt = new SquareRoot(); 41 var cube = new Cube();42 var cubeRoot = new CubeRoot();43 42 var exp = new Exponential(); 44 43 var tanh = new HyperbolicTangent(); … … 55 54 //all other symbols 56 55 var allSymbols = new List<Symbol> { 57 add, sub, mul, div, constant, variableSymbol, sin, cos, tan, log, pow, square, root, sqrt, cube, cubeRoot,exp,56 add, sub, mul, div, constant, variableSymbol, sin, cos, tan, log, pow, square, root, sqrt, exp, 58 57 tanh 59 58 }; … … 62 61 var trigonometricSymbols = new List<Symbol> {sin, cos, tan, tanh}; 63 62 var exponentialAndLogarithmicSymbols = new List<Symbol> {exp, log}; 64 var powerSymbols = new List<Symbol> {square, pow, sqrt, root , cube, cubeRoot};63 var powerSymbols = new List<Symbol> {square, pow, sqrt, root}; 65 64 var realValueSymbols = new List<Symbol> 66 65 {add, sub, mul, div, sin, cos, tan, tanh, exp, log, variableSymbol, constant}; … … 86 85 SetSubtreeCount(root, 2, 2); 87 86 SetSubtreeCount(square, 1, 1); 88 SetSubtreeCount(cube, 1, 1);89 87 SetSubtreeCount(sqrt, 1, 1); 90 SetSubtreeCount(cubeRoot, 1, 1);91 88 92 89 #endregion … … 121 118 } 122 119 #endregion 120 121 Symbols.First(s => s is Power).Enabled = false; 122 Symbols.First(s => s is Root).Enabled = false; 123 123 } 124 124 } -
branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/IntervalInterpreter.cs
r17637 r17650 461 461 !(n.Symbol is Cosine) && 462 462 !(n.Symbol is Tangent) && 463 !(n.Symbol is HyperbolicTangent) && 463 464 !(n.Symbol is Logarithm) && 464 465 !(n.Symbol is Exponential) &&
Note: See TracChangeset
for help on using the changeset viewer.