Changeset 3182 for trunk/sources/HeuristicLab.Problems.TestFunctions/3.3
- Timestamp:
- 03/22/10 17:03:29 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r3170 r3182 226 226 Bounds[e.Value, 0] = Bounds[e.Value, 1] - 0.1; 227 227 } 228 private void BoundsParameter_NameChanged(object sender, EventArgs e) { 229 ParameterizeOperators(); 230 } 228 231 #endregion 229 232 … … 234 237 ProblemSizeParameter.ValueChanged += new EventHandler(ProblemSizeParameter_ValueChanged); 235 238 ProblemSize.ValueChanged += new EventHandler(ProblemSize_ValueChanged); 239 BoundsParameter.NameChanged += new EventHandler(BoundsParameter_NameChanged); 236 240 BoundsParameter.ValueChanged += new EventHandler(BoundsParameter_ValueChanged); 237 241 Bounds.ToStringChanged += new EventHandler(Bounds_ToStringChanged); … … 243 247 VisualizerParameter.ValueChanged += new EventHandler(VisualizerParameter_ValueChanged); 244 248 } 245 246 249 private void InitializeOperators() { 247 250 operators = new List<IRealVectorOperator>(); … … 280 283 op.ParentsParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName; 281 284 op.ChildParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName; 285 op.BoundsParameter.ActualName = BoundsParameter.Name; 282 286 } 283 287 foreach (IRealVectorManipulator op in Operators.OfType<IRealVectorManipulator>()) { 284 288 op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName; 289 op.BoundsParameter.ActualName = BoundsParameter.Name; 285 290 } 286 291 /*foreach (IPermutationMoveOperator op in Operators.OfType<IPermutationMoveOperator>()) {
Note: See TracChangeset
for help on using the changeset viewer.