Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/20/10 15:49:22 (14 years ago)
Author:
gkronber
Message:

Implemented views for DataAnalysisProblems and DataAnalysisSolutions. #938 (Data types and operators for regression problems)

Location:
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.3/SymbolicExpressionTreeChart.cs

    r3294 r3442  
    258258
    259259      //draw name of symbol
    260       graphics.DrawString(node.Symbol.Name, textFont, textBrush, new RectangleF(visualTreeNode.X, visualTreeNode.Y, visualTreeNode.Width, visualTreeNode.Height), stringFormat);
     260      var text = node.ToString();
     261      graphics.DrawString(text, textFont, textBrush, new RectangleF(visualTreeNode.X, visualTreeNode.Y, visualTreeNode.Width, visualTreeNode.Height), stringFormat);
    261262
    262263      //draw connection line to parent node
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.3/SymbolicExpressionView.cs

    r3244 r3442  
    4848      if (node.SubTrees.Count > 0) {
    4949        // symbol on same line as '('
    50         strBuilder.AppendLine(node.Symbol.Name);
     50        strBuilder.AppendLine(node.ToString());
    5151        // each subtree expression on a new line
    5252        // and closing ')' also on new line
     
    5757      } else {
    5858        // symbol in the same line with as '(' and ')'
    59         strBuilder.Append(node.Symbol.Name);
     59        strBuilder.Append(node.ToString());
    6060        strBuilder.Append(")");
    6161      }
Note: See TracChangeset for help on using the changeset viewer.