Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/11/14 00:03:36 (10 years ago)
Author:
bburlacu
Message:

#1772: Fixed another minor display bug concerning elite individuals. Fixed bug when saving fragments from mutation. Displayed quality as well in the SymbolicExpressionTreeTile.

Location:
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Tracking
Files:
2 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;
     1using System;
     2using System.Collections.Generic;
    23using System.Drawing;
    34using System.Linq;
     
    5051        var tile = new SymbolicExpressionTreeTile(chart);
    5152        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);
    5355        tile.Root = node.Content.Root;
    5456        var tileNode = new TileLayoutNode { Tile = tile };
     
    131133        }
    132134      }
     135      // center display on the root of the fragment graph
     136      symbolicExpressionChartControl.Chart.Move(tileDictionary[root].Tile.Position.X, tileDictionary[root].Tile.Position.Y);
    133137      symbolicExpressionChartControl.UpdateEnabled = true;
    134138      symbolicExpressionChartControl.EnforceUpdate();
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Tracking/SymboldDataAnalysisGenealogyView.Designer.cs

    r10746 r10833  
    1919 */
    2020#endregion
     21
     22using System.Drawing;
    2123
    2224namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views {
     
    100102      this.symbolicExpressionTreeChart.SuspendRepaint = false;
    101103      this.symbolicExpressionTreeChart.TabIndex = 0;
    102       this.symbolicExpressionTreeChart.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     104      this.symbolicExpressionTreeChart.TextFont = new System.Drawing.Font(FontFamily.GenericSansSerif, 10);
    103105      this.symbolicExpressionTreeChart.Tree = null;
    104106      //
Note: See TracChangeset for help on using the changeset viewer.