Changeset 10649 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionGrammarAllowedChildSymbolsControl.cs
- Timestamp:
- 03/24/14 16:56:18 (11 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views merged: 10531,10561,10565
- Property svn:mergeinfo changed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionGrammarAllowedChildSymbolsControl.cs
r10524 r10649 105 105 106 106 var tree = new SymbolicExpressionTree(new SymbolicExpressionTreeNode(Symbol)); 107 symbolicExpressionTreeChart.SuspendRepaint = true;108 107 if (Grammar.GetMaximumSubtreeCount(Symbol) > 0) { 109 108 for (int i = 0; i < Grammar.GetMaximumSubtreeCount(Symbol); i++) { … … 118 117 } 119 118 symbolicExpressionTreeChart.Tree = tree; 120 119 symbolicExpressionTreeChart.SuspendRepaint = true; 121 120 foreach (var subtreeNode in tree.Root.Subtrees) { 122 121 foreach (var allowedChildNode in subtreeNode.Subtrees) { … … 144 143 } 145 144 } 146 147 145 symbolicExpressionTreeChart.SuspendRepaint = false; 148 146 UpdateSelectedSymbolicExpressionTreeNodes(); … … 155 153 else visualNode.FillColor = Color.LightSteelBlue; 156 154 } 157 symbolicExpressionTreeChart.Repaint ();155 symbolicExpressionTreeChart.RepaintNodes(); 158 156 } 159 157
Note: See TracChangeset
for help on using the changeset viewer.