- Timestamp:
- 02/23/15 16:47:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing/3.4/ProblemDataCreator.cs
r12012 r12058 61 61 SetTrainingAndTestPartition(problemData); 62 62 // set the input variables to the correct checked state 63 var inputVariables = problemData.InputVariables.ToDictionary(x => x.Value, x => x);64 foreach (var variable in oldProblemData.InputVariables) {65 bool @checked = oldProblemData.InputVariables.ItemChecked(variable);66 problemData.InputVariables.SetItemCheckedState( inputVariables[variable.Value], @checked);63 var inputVariables = oldProblemData.InputVariables.ToDictionary(x => x.Value, x => x); 64 foreach (var variable in problemData.InputVariables) { 65 bool isChecked = oldProblemData.InputVariables.ItemChecked(inputVariables[variable.Value]); 66 problemData.InputVariables.SetItemCheckedState(variable, isChecked); 67 67 } 68 68
Note: See TracChangeset
for help on using the changeset viewer.