Changeset 3373 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/ArithmeticExpressionGrammar.cs
- Timestamp:
- 04/16/10 15:22:57 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/ArithmeticExpressionGrammar.cs
r3338 r3373 20 20 #endregion 21 21 22 23 22 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 24 23 using System.Collections.Generic; … … 28 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.GeneralSymbols; 30 using HeuristicLab.Problems.DataAnalysis.Regression.Symbolic.Symbols;31 29 using HeuristicLab.Data; 32 namespace HeuristicLab.Problems.DataAnalysis.Regression.Symbolic { 30 using HeuristicLab.Problems.DataAnalysis.Symbolic.Symbols; 31 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 33 32 [StorableClass] 34 33 [Item("ArithmeticExpressionGrammar", "Represents a grammar for functional expressions using only arithmetic operations.")] … … 45 44 46 45 [Storable] 47 private HeuristicLab.Problems.DataAnalysis. Regression.Symbolic.Symbols.Variable variableSymbol;46 private HeuristicLab.Problems.DataAnalysis.Symbolic.Symbols.Variable variableSymbol; 48 47 49 48 public ArithmeticExpressionGrammar() … … 58 57 var div = new Division(); 59 58 var constant = new Constant(); 60 variableSymbol = new HeuristicLab.Problems.DataAnalysis. Regression.Symbolic.Symbols.Variable();59 variableSymbol = new HeuristicLab.Problems.DataAnalysis.Symbolic.Symbols.Variable(); 61 60 62 61 var allSymbols = new List<Symbol>() { add, sub, mul, div, constant, variableSymbol }; 63 62 var functionSymbols = new List<Symbol>() { add, sub, mul, div }; 63 64 64 foreach (var symb in allSymbols) 65 65 AddSymbol(symb);
Note: See TracChangeset
for help on using the changeset viewer.