Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/06/12 11:44:58 (12 years ago)
Author:
bburlacu
Message:

#1772: Fixed small bug (correct counting of node ranks) in the SymbolicExpressionTreeGenealogyAnalyzer. Fixed node tool tips in the GenealogyGraphChart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Analyzers/SymbolicExpressionTreeGenealogyAnalyzer.cs

    r8248 r8249  
    241241          var label = (generation * scopes.Count + i + 1).ToString(CultureInfo.InvariantCulture);
    242242          if (!graph.HasNode(indiv)) {
    243             var node = new GenealogyGraphNode(indiv) {
    244               Label = label,
    245             };
     243            var node = new GenealogyGraphNode(indiv) { Label = label };
    246244            graph.AddNode(node);
    247245            // node metadata
     
    249247            graph[node].Quality = scopes[i].Quality;
    250248            graph[node].IsElite = i < Elites.Value;
     249          } else {
     250            var node = graph.GetNode(indiv);
     251            graph[node].Ranks.Add(generation);
    251252          }
    252253          if (generation == 0) continue;
Note: See TracChangeset for help on using the changeset viewer.