Changeset 10833 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Tracking/FragmentGraphView.cs
- Timestamp:
- 05/11/14 00:03:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Tracking/FragmentGraphView.cs
r10827 r10833 1 using System.Collections.Generic; 1 using System; 2 using System.Collections.Generic; 2 3 using System.Drawing; 3 4 using System.Linq; … … 50 51 var tile = new SymbolicExpressionTreeTile(chart); 51 52 tile.LayoutEngine = symbolicExpressionEngine; 52 tile.Label = "Generation " + node.Rank; 53 tile.Label = "Generation " + node.Rank + Environment.NewLine + 54 "Quality " + String.Format("{0:0.000}", node.Quality); 53 55 tile.Root = node.Content.Root; 54 56 var tileNode = new TileLayoutNode { Tile = tile }; … … 131 133 } 132 134 } 135 // center display on the root of the fragment graph 136 symbolicExpressionChartControl.Chart.Move(tileDictionary[root].Tile.Position.X, tileDictionary[root].Tile.Position.Y); 133 137 symbolicExpressionChartControl.UpdateEnabled = true; 134 138 symbolicExpressionChartControl.EnforceUpdate();
Note: See TracChangeset
for help on using the changeset viewer.