Changeset 13830
- Timestamp:
- 05/03/16 21:27:14 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/GradientChart.cs
r13829 r13830 171 171 } 172 172 173 174 public void Configure(IEnumerable<IRegressionSolution> solutions, IRegressionProblemData pd, double min, double max, int points) {175 if (!SolutionsCompatibleWithProblemData(pd, solutions))176 throw new ArgumentException("Solutions are not compatible with the problem data.");177 this.solutionList = new List<IRegressionSolution>(solutions);178 this.problemData = pd;179 this.variable = pd.Dataset.DoubleVariables.First();180 this.min = min;181 this.max = max;182 this.points = points;183 184 UpdateDataset();185 UpdateChart();186 }187 188 173 public void Configure(IEnumerable<IRegressionSolution> solutions, IRegressionProblemData pd, ModifiableDataset dataset, string variable, double min, double max, int points) { 189 174 if (!SolutionsCompatibleWithProblemData(pd, solutions))
Note: See TracChangeset
for help on using the changeset viewer.