Changeset 13921 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisModel.cs
- Timestamp:
- 06/19/16 19:56:11 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisModel.cs
r12012 r13921 21 21 22 22 using System; 23 using System.Collections.Generic; 23 24 using System.Drawing; 25 using System.Linq; 24 26 using HeuristicLab.Common; 25 27 using HeuristicLab.Core; … … 56 58 get { return interpreter; } 57 59 } 60 61 public IEnumerable<string> VariablesUsedForPrediction { 62 get { 63 return 64 SymbolicExpressionTree.IterateNodesPrefix() 65 .OfType<VariableTreeNode>() 66 .Select(x => x.VariableName) 67 .Distinct() 68 .OrderBy(x => x); 69 } 70 } 71 58 72 #endregion 59 73 … … 160 174 } 161 175 #endregion 176 162 177 } 163 178 }
Note: See TracChangeset
for help on using the changeset viewer.