Free cookie consent management tool by TermsFeed Policy Generator

Changeset 15054 for trunk/sources


Ignore:
Timestamp:
06/25/17 08:26:17 (8 years ago)
Author:
gkronber
Message:

#2650 added an implementation for RemoveSolutionAsync in PDP for factors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/FactorPartialDependencePlot.cs

    r14852 r15054  
    419419
    420420    public async Task RemoveSolutionAsync(IRegressionSolution solution) {
    421       throw new NotSupportedException();
     421      if (!solutions.Remove(solution))
     422        return;
     423
     424      seriesCache.Remove(solution);
     425      ciSeriesCache.Remove(solution);
     426
     427      await RecalculateAsync();
     428      var args = new EventArgs<IRegressionSolution>(solution);
     429      OnSolutionRemoved(this, args);
    422430    }
    423431
Note: See TracChangeset for help on using the changeset viewer.