Changeset 5733 for branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Formatters
- Timestamp:
- 03/17/11 14:07:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Formatters/SymbolicExpressionTreeStringFormatter.cs
r5510 r5733 55 55 strBuilder.Append("("); 56 56 // internal nodes or leaf nodes? 57 if (node.Sub Trees.Count() > 0) {57 if (node.Subtrees.Count() > 0) { 58 58 // symbol on same line as '(' 59 59 strBuilder.AppendLine(node.ToString()); 60 60 // each subtree expression on a new line 61 61 // and closing ')' also on new line 62 foreach (var subtree in node.Sub Trees) {62 foreach (var subtree in node.Subtrees) { 63 63 strBuilder.AppendLine(FormatRecursively(subtree, indentLength + 2)); 64 64 }
Note: See TracChangeset
for help on using the changeset viewer.