- Timestamp:
- 10/02/12 09:52:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblemData.cs
r8554 r8716 280 280 TestPartition.Start = classificationProblemData.TestPartition.Start; 281 281 TestPartition.End = classificationProblemData.TestPartition.End; 282 283 for (int i = 0; i < classificationProblemData.ClassNames.Count(); i++) 284 ClassNamesParameter.Value[i, 0] = classificationProblemData.ClassNames.ElementAt(i); 282 285 } 283 286 … … 374 377 TargetVariableParameter.ValueChanged += new EventHandler(TargetVariableParameter_ValueChanged); 375 378 ClassNamesParameter.Value.Reset += new EventHandler(Parameter_ValueChanged); 376 ClassNamesParameter.Value.ItemChanged += new EventHandler<EventArgs<int, int>>( MatrixParameter_ItemChanged);379 ClassNamesParameter.Value.ItemChanged += new EventHandler<EventArgs<int, int>>(Parameter_ValueChanged); 377 380 } 378 381 private void DeregisterParameterEvents() { 379 382 TargetVariableParameter.ValueChanged -= new EventHandler(TargetVariableParameter_ValueChanged); 380 383 ClassNamesParameter.Value.Reset -= new EventHandler(Parameter_ValueChanged); 381 ClassNamesParameter.Value.ItemChanged -= new EventHandler<EventArgs<int, int>>( MatrixParameter_ItemChanged);384 ClassNamesParameter.Value.ItemChanged -= new EventHandler<EventArgs<int, int>>(Parameter_ValueChanged); 382 385 } 383 386 … … 392 395 OnChanged(); 393 396 } 394 private void MatrixParameter_ItemChanged(object sender, EventArgs<int, int> e) {395 classNamesCache = null;396 OnChanged();397 }398 397 #endregion 399 398 }
Note: See TracChangeset
for help on using the changeset viewer.