Changeset 8249
- Timestamp:
- 07/06/12 11:44:58 (12 years ago)
- Location:
- branches/HeuristicLab.EvolutionaryTracking
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4/GenealogyGraphChart.cs
r8248 r8249 101 101 Data = node, 102 102 ToolTipText = "Id: " + node.Label + nl + 103 "Ranks: " + Graph[node].Ranks+ nl +103 "Ranks: " + string.Join(",", Graph[node].Ranks.Select(r => r.ToString())) + nl + 104 104 "Quality: " + String.Format("{0:0.0000}", Graph[node].Quality) + nl + 105 105 "IsElite: " + Graph[node].IsElite -
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Analyzers/SymbolicExpressionTreeGenealogyAnalyzer.cs
r8248 r8249 241 241 var label = (generation * scopes.Count + i + 1).ToString(CultureInfo.InvariantCulture); 242 242 if (!graph.HasNode(indiv)) { 243 var node = new GenealogyGraphNode(indiv) { 244 Label = label, 245 }; 243 var node = new GenealogyGraphNode(indiv) { Label = label }; 246 244 graph.AddNode(node); 247 245 // node metadata … … 249 247 graph[node].Quality = scopes[i].Quality; 250 248 graph[node].IsElite = i < Elites.Value; 249 } else { 250 var node = graph.GetNode(indiv); 251 graph[node].Ranks.Add(generation); 251 252 } 252 253 if (generation == 0) continue;
Note: See TracChangeset
for help on using the changeset viewer.