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.

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;
     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();
Note: See TracChangeset for help on using the changeset viewer.