Changeset 14027 for stable/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 07/08/16 14:37:15 (8 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 13826,13921-13922,13941,13992-13993,14000
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic merged: 13921,13941
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisModel.cs
r12009 r14027 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 var variables = 64 SymbolicExpressionTree.IterateNodesPrefix() 65 .OfType<VariableTreeNode>() 66 .Select(x => x.VariableName) 67 .Distinct(); 68 var variableConditions = SymbolicExpressionTree.IterateNodesPrefix() 69 .OfType<VariableConditionTreeNode>().Select(x => x.VariableName).Distinct(); 70 71 return variables.Union(variableConditions).OrderBy(x => x); 72 } 73 } 74 58 75 #endregion 59 76 … … 160 177 } 161 178 #endregion 179 162 180 } 163 181 }
Note: See TracChangeset
for help on using the changeset viewer.