Changeset 10936
- Timestamp:
- 06/04/14 12:56:05 (10 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/HeuristicLab.EvolutionTracking.Views-3.4.csproj
r10888 r10936 97 97 <DependentUpon>FrequentFragmentsDialog.cs</DependentUpon> 98 98 </Compile> 99 <Compile Include="GenealogyGraphChart.cs"> 100 <SubType>UserControl</SubType> 101 </Compile> 99 <Compile Include="GenealogyGraphChart.cs" /> 102 100 <Compile Include="GenealogyGraphChart.Designer.cs"> 103 101 <DependentUpon>GenealogyGraphChart.cs</DependentUpon> -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Analyzers/GenealogyAnalyzer.cs
r10897 r10936 137 137 get { return GenerationsParameter.ActualValue; } 138 138 } 139 139 140 public IGenealogyGraph<T> GenealogyGraph { 140 141 get { … … 281 282 282 283 prevVertex.Content = clone; 283 284 // inject the graph node unique id to the scope 284 285 ExecutionContext.Scope.SubScopes[index].Variables["Id"].Value = new StringValue(vertex.Id); 285 286 … … 299 300 } 300 301 302 // remove extra graph nodes (added by the instrumented operators in the case of offspring selection) 303 var discardedOffspring = GenealogyGraph.Ranks[Generations.Value].Select(x => (T)x.Content).Except(population).ToList(); 304 foreach (var individual in discardedOffspring) { 305 var vertex = GenealogyGraph.GetVertex(individual); 306 GenealogyGraph.RemoveVertex(vertex); 307 } 308 301 309 return base.Apply(); 302 310 } -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/DirectedGraph/DirectedGraph.cs
r10903 r10936 128 128 throw new Exception("Content already exists in the graph."); 129 129 } 130 contentMap .Add(vertex.Content, vertex);130 contentMap[vertex.Content] = vertex; 131 131 } 132 132 idMap.Add(vertex.Id, vertex); -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj
r10888 r10936 279 279 <DependentUpon>SymboldDataAnalysisGenealogyView.cs</DependentUpon> 280 280 </Compile> 281 <Compile Include="Tracking\SymbolicDataAnalysisExpressionGenealogyGraphChart.cs"> 282 <SubType>UserControl</SubType> 283 </Compile> 281 <Compile Include="Tracking\SymbolicDataAnalysisExpressionGenealogyGraphChart.cs" /> 284 282 <Compile Include="Tracking\SymbolicDataAnalysisExpressionGenealogyGraphChart.Designer.cs"> 285 283 <DependentUpon>SymbolicDataAnalysisExpressionGenealogyGraphChart.cs</DependentUpon> … … 291 289 <DependentUpon>SymbolicDataAnalysisExpressionLineageExplorerView.cs</DependentUpon> 292 290 </Compile> 293 <Compile Include="Tracking\SymbolicExpressionChartControl.cs"> 294 <SubType>UserControl</SubType> 295 </Compile> 291 <Compile Include="Tracking\SymbolicExpressionChartControl.cs" /> 296 292 <Compile Include="Tracking\SymbolicExpressionChartControl.Designer.cs"> 297 293 <DependentUpon>SymbolicExpressionChartControl.cs</DependentUpon>
Note: See TracChangeset
for help on using the changeset viewer.