Changeset 18051
- Timestamp:
- 09/09/21 14:44:03 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj
r17931 r18051 122 122 <DependentUpon>InteractiveSymbolicExpressionTreeChart.cs</DependentUpon> 123 123 </Compile> 124 <Compile Include="RunCollectionPartialDependencePlotView.cs"> 125 <SubType>UserControl</SubType> 126 </Compile> 127 <Compile Include="RunCollectionPartialDependencePlotView.Designer.cs"> 128 <DependentUpon>RunCollectionPartialDependencePlotView.cs</DependentUpon> 129 </Compile> 124 130 <Compile Include="SymbolicDataAnalysisModelMathView.cs"> 125 131 <SubType>UserControl</SubType> … … 276 282 <Name>HeuristicLab.Problems.DataAnalysis.Symbolic-3.4</Name> 277 283 <Private>False</Private> 284 </ProjectReference> 285 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Views\3.4\HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj"> 286 <Project>{3E9E8944-44FF-40BB-A622-3A4A7DD0F198}</Project> 287 <Name>HeuristicLab.Problems.DataAnalysis.Views-3.4</Name> 278 288 </ProjectReference> 279 289 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> -
trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/PartialDependencePlot.cs
r17939 r18051 453 453 } 454 454 455 private asyncTask<DoubleLimit> UpdateAllSeriesDataAsync(CancellationToken cancellationToken) {455 private Task<DoubleLimit> UpdateAllSeriesDataAsync(CancellationToken cancellationToken) { 456 456 var updateTasks = solutions.Select(solution => UpdateSeriesDataAsync(solution, cancellationToken)); 457 457 458 double min = double.MaxValue, max = double.MinValue; 459 foreach (var update in updateTasks) { 460 var limit = await update; 461 if (limit.Lower < min) min = limit.Lower; 462 if (limit.Upper > max) max = limit.Upper; 463 } 464 465 return new DoubleLimit(min, max); 458 return Task.Run(() => { 459 double min = double.MaxValue, max = double.MinValue; 460 foreach (var update in updateTasks) { 461 var limit = update.Result; 462 if (limit.Lower < min) min = limit.Lower; 463 if (limit.Upper > max) max = limit.Upper; 464 } 465 466 return new DoubleLimit(min, max); 467 }, cancellationToken); 466 468 } 467 469 -
trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionPartialDependencePlotView.cs
r17938 r18051 237 237 238 238 RecalculateAndRelayoutCharts(); 239 } 240 241 public async Task AddSolution(IRegressionSolution solution) { 242 foreach (var chart in partialDependencePlots.Values) { 243 await chart.AddSolutionAsync(solution); 244 } 239 245 } 240 246
Note: See TracChangeset
for help on using the changeset viewer.