Changeset 9698 for branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ParameterOptimization
- Timestamp:
- 07/05/13 12:37:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ParameterOptimization/3.3/ParameterOptimizationProblem.cs
r9682 r9698 128 128 Bounds.ToStringChanged += Bounds_ToStringChanged; 129 129 ProblemSizeParameter.Value.ValueChanged += ProblemSize_Changed; 130 ParameterNames.Reset += ParameterNames_Reset; 130 131 } 131 132 … … 154 155 UpdateStrategyVectorBounds(); 155 156 } 156 pr ivatevoid UpdateStrategyVectorBounds() {157 protected virtual void UpdateStrategyVectorBounds() { 157 158 DoubleMatrix strategyBounds = (DoubleMatrix)Bounds.Clone(); 158 159 for (int i = 0; i < strategyBounds.Rows; i++) { … … 163 164 } 164 165 165 pr ivatevoid ProblemSize_Changed(object sender, EventArgs e) {166 protected virtual void ProblemSize_Changed(object sender, EventArgs e) { 166 167 if (ParameterNames.Length != ProblemSize) 167 168 ((IStringConvertibleArray)ParameterNames).Length = ProblemSize; … … 170 171 } 171 172 } 173 174 protected virtual void ParameterNames_Reset(object sender, EventArgs e) { 175 ProblemSize = ParameterNames.Length; 176 } 172 177 } 173 178 }
Note: See TracChangeset
for help on using the changeset viewer.