Changeset 5524 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/VariableFrequencyAnalyser.cs
- Timestamp:
- 02/21/11 16:33:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/VariableFrequencyAnalyser.cs
r5445 r5524 112 112 var variableNames = from node in tree.IterateNodesPrefix().OfType<VariableTreeNode>() 113 113 select node.VariableName; 114 var variableNamesInConditions = from node in tree.IterateNodesPrefix().OfType<VariableConditionTreeNode>() 115 select node.VariableName; 114 116 115 foreach (var variableName in variableNames ) {117 foreach (var variableName in variableNames.Concat(variableNamesInConditions)) { 116 118 if (!references.ContainsKey(variableName)) { 117 119 references[variableName] = 1;
Note: See TracChangeset
for help on using the changeset viewer.