Changeset 5087 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/MetaOptimizationProblem.cs
- Timestamp:
- 12/12/10 11:34:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/MetaOptimizationProblem.cs
r5009 r5087 151 151 } 152 152 void BaseLevelAlgorithmParameter_ValueChanged(object sender, EventArgs e) { 153 Algorithm.ProblemChanged += new EventHandler(BaseLevelAlgorithm_ProblemChanged); // when to deregister? 154 BaseLevelAlgorithm_ProblemChanged(sender, e); 153 AlgorithmParameterConfiguration = new ParameterConfigurationTree(Algorithm); 154 155 //Algorithm.ProblemChanged += new EventHandler(BaseLevelAlgorithm_ProblemChanged); // when to deregister? 156 //BaseLevelAlgorithm_ProblemChanged(sender, e); 155 157 } 156 158 157 159 void BaseLevelAlgorithm_ProblemChanged(object sender, EventArgs e) { 158 if (Algorithm != null && Algorithm.Problem != null) {159 AlgorithmParameterConfiguration = new ParameterConfigurationTree(Algorithm);160 }160 //if (Algorithm != null && Algorithm.Problem != null) { 161 // AlgorithmParameterConfiguration = new ParameterConfigurationTree(Algorithm); 162 //} 161 163 } 162 164 #endregion
Note: See TracChangeset
for help on using the changeset viewer.