Changeset 5807 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Views/3.4/Classification
- Timestamp:
- 03/23/11 00:23:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Views/3.4/Classification/DiscriminantFunctionClassificationSolutionView.cs
r5736 r5807 235 235 int classIndex = (int)e.Annotation.Tag; 236 236 double[] thresholds = Content.Model.Thresholds.ToArray(); 237 double max = thresholds[classIndex + 1];238 double min = thresholds[classIndex - 1];239 240 if (e.NewLocationY >= max)241 e.NewLocationY = max;242 243 if (e.NewLocationY <= min)244 e.NewLocationY = min;245 246 237 thresholds[classIndex] = e.NewLocationY; 247 238 Content.Model.SetThresholdsAndClassValues(thresholds, Content.Model.ClassValues);
Note: See TracChangeset
for help on using the changeset viewer.