- Timestamp:
- 05/05/17 17:56:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/TreeSimplifier.cs
r14843 r14938 33 33 /// </summary> 34 34 public class TreeSimplifier { 35 private Addition addSymbol = new Addition(); 36 private Multiplication mulSymbol = new Multiplication(); 37 private Division divSymbol = new Division(); 38 private Constant constSymbol = new Constant(); 39 private Variable varSymbol = new Variable(); 40 private Logarithm logSymbol = new Logarithm(); 41 private Exponential expSymbol = new Exponential(); 42 private Root rootSymbol = new Root(); 43 private Square sqrSymbol = new Square(); 44 private SquareRoot sqrtSymbol = new SquareRoot(); 45 private Power powSymbol = new Power(); 46 private Sine sineSymbol = new Sine(); 47 private Cosine cosineSymbol = new Cosine(); 48 private Tangent tanSymbol = new Tangent(); 49 private IfThenElse ifThenElseSymbol = new IfThenElse(); 50 private And andSymbol = new And(); 51 private Or orSymbol = new Or(); 52 private Not notSymbol = new Not(); 53 private GreaterThan gtSymbol = new GreaterThan(); 54 private LessThan ltSymbol = new LessThan(); 55 private Integral integralSymbol = new Integral(); 56 private LaggedVariable laggedVariableSymbol = new LaggedVariable(); 57 private TimeLag timeLagSymbol = new TimeLag(); 35 private readonly Addition addSymbol = new Addition(); 36 private readonly Multiplication mulSymbol = new Multiplication(); 37 private readonly Division divSymbol = new Division(); 38 private readonly Constant constSymbol = new Constant(); 39 private readonly Logarithm logSymbol = new Logarithm(); 40 private readonly Exponential expSymbol = new Exponential(); 41 private readonly Root rootSymbol = new Root(); 42 private readonly Square sqrSymbol = new Square(); 43 private readonly SquareRoot sqrtSymbol = new SquareRoot(); 44 private readonly Power powSymbol = new Power(); 45 private readonly Sine sineSymbol = new Sine(); 46 private readonly Cosine cosineSymbol = new Cosine(); 47 private readonly Tangent tanSymbol = new Tangent(); 48 private readonly IfThenElse ifThenElseSymbol = new IfThenElse(); 49 private readonly And andSymbol = new And(); 50 private readonly Or orSymbol = new Or(); 51 private readonly Not notSymbol = new Not(); 52 private readonly GreaterThan gtSymbol = new GreaterThan(); 53 private readonly LessThan ltSymbol = new LessThan(); 54 private readonly Integral integralSymbol = new Integral(); 55 private readonly LaggedVariable laggedVariableSymbol = new LaggedVariable(); 56 private readonly TimeLag timeLagSymbol = new TimeLag(); 58 57 59 58 public ISymbolicExpressionTree Simplify(ISymbolicExpressionTree originalTree) {
Note: See TracChangeset
for help on using the changeset viewer.