Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/21/11 16:33:35 (14 years ago)
Author:
gkronber
Message:

#1325 Implemented MATLAB formatter rule for variable conditions and integrated handling of variable condition symbols into variable frequency analyzer and symbolic classification problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/VariableFrequencyAnalyser.cs

    r5445 r5524  
    112112      var variableNames = from node in tree.IterateNodesPrefix().OfType<VariableTreeNode>()
    113113                          select node.VariableName;
     114      var variableNamesInConditions = from node in tree.IterateNodesPrefix().OfType<VariableConditionTreeNode>()
     115                                      select node.VariableName;
    114116
    115       foreach (var variableName in variableNames) {
     117      foreach (var variableName in variableNames.Concat(variableNamesInConditions)) {
    116118        if (!references.ContainsKey(variableName)) {
    117119          references[variableName] = 1;
Note: See TracChangeset for help on using the changeset viewer.