Changeset 11015 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Tracking
- Timestamp:
- 06/13/14 17:20:36 (11 years ago)
- 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
r10888 r11015 69 69 var chart = symbolicExpressionChartControl.Chart; 70 70 tileDictionary.Clear(); 71 foreach (var node in Content. Nodes) {71 foreach (var node in Content.Vertices) { 72 72 var graphNode = (IGenealogyGraphNode<ISymbolicExpressionTree>)node.Content; 73 73 var tile = new SymbolicExpressionTreeTile(chart); … … 79 79 tileDictionary.Add(node, tileNode); 80 80 } 81 foreach (var node in Content. Nodes.Where(n => n.OutArcs.Any())) {81 foreach (var node in Content.Vertices.Where(n => n.OutArcs.Any())) { 82 82 var layoutNode = tileDictionary[node]; 83 83 layoutNode.Children = new List<TileLayoutNode>(node.OutArcs.Select(a => tileDictionary[(FragmentNode)a.Target])); … … 87 87 private void Draw() { 88 88 var chart = symbolicExpressionChartControl.Chart; 89 var nodes = Content. Nodes.ToList();89 var nodes = Content.Vertices.ToList(); 90 90 var root = nodes[0]; 91 91 var fragmentRoot = tileDictionary[root]; -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Tracking/SymboldDataAnalysisGenealogyView.cs
r10903 r11015 100 100 var subtreeIndex = graphNode.Content.IterateNodesPrefix().ToList().IndexOf(subtree); 101 101 var fragmentGraph = SymbolicDataAnalysisExpressionTracing.TraceSubtree(graphNode, subtreeIndex); 102 if (fragmentGraph. Nodes.Any()) {102 if (fragmentGraph.Vertices.Any()) { 103 103 MainFormManager.MainForm.ShowContent(fragmentGraph); // display the fragment graph on the screen 104 104 }
Note: See TracChangeset
for help on using the changeset viewer.