Changeset 7383 for branches/HiveHiveEngine/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers
- Timestamp:
- 01/20/12 13:52:51 (13 years ago)
- Location:
- branches/HiveHiveEngine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveHiveEngine
- Property svn:ignore
- Property svn:mergeinfo changed
/trunk/sources (added) merged: 7294-7295,7297,7304-7306,7318,7327,7333,7335,7341-7342,7351-7353,7369-7370
-
branches/HiveHiveEngine/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisAlleleFrequencyAnalyzer.cs
r7259 r7383 84 84 if (d == 0) return ""; 85 85 StringBuilder builder = new StringBuilder(); 86 builder.Append("(" + tree.ToString()); 86 var varTreeNode = tree as VariableTreeNode; 87 var constTreeNode = tree as ConstantTreeNode; 88 if (varTreeNode != null) { 89 builder.Append("(var " + varTreeNode.VariableName); 90 } else if (constTreeNode != null) { 91 builder.Append("(const"); 92 } else { 93 builder.Append("(" + tree.ToString()); 94 } 87 95 for (int i = 0; i < tree.SubtreeCount; i++) { 88 96 builder.Append(" " + GetTextualRepresentationFromSubtreeOfDepth(tree.GetSubtree(i), d - 1));
Note: See TracChangeset
for help on using the changeset viewer.