Changeset 12283 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking
- Timestamp:
- 04/02/15 16:35:59 (10 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/Analyzers/SymbolicDataAnalysisSubtreeSampleCountAnalyzer.cs
r12265 r12283 104 104 g.Weight = v.Weight; 105 105 } 106 107 // analyze subtree frequencies 108 foreach (var v in PopulationGraph.GetByRank(Generation.Value)) { 109 var g = (IGenealogyGraphNode<ISymbolicExpressionTree>)v; 110 var t = g.Data; 111 112 113 } 106 114 } 115 107 116 return base.Apply(); 108 117 } -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/TraceCalculator.cs
r12265 r12283 249 249 arc = new GenealogyGraphArc(current, last) { Data = td }; 250 250 TraceGraph.AddArc(arc); 251 } else { 252 if (UpdateVertexWeights) { 253 arc.Weight++; 254 current.Weight++; 255 } 256 if (UpdateSubtreeWeights) { 257 var subtree = NodeAt(current.Data, td.SubtreeIndex); 258 foreach (var s in subtree.IterateNodesPrefix()) 259 s.NodeWeight++; 260 } 251 } 252 if (UpdateVertexWeights) { 253 arc.Weight++; 254 current.Weight++; 255 } 256 if (UpdateSubtreeWeights) { 257 var subtree = NodeAt(current.Data, td.SubtreeIndex); 258 foreach (var s in subtree.IterateNodesPrefix()) 259 s.NodeWeight++; 261 260 } 262 261 }
Note: See TracChangeset
for help on using the changeset viewer.