Changeset 3463
- Timestamp:
- 04/21/10 15:21:47 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r3303 r3463 241 241 void WeightsValue_Reset(object sender, EventArgs e) { 242 242 ParameterizeSolutionCreator(); 243 244 if (WeightsParameter.Value != null && ValuesParameter.Value != null) 245 ((IStringConvertibleArray)ValuesParameter.Value).Length = WeightsParameter.Value.Length; 243 246 } 244 247 void ValuesParameter_ValueChanged(object sender, EventArgs e) { … … 250 253 void ValuesValue_Reset(object sender, EventArgs e) { 251 254 ParameterizeSolutionCreator(); 255 256 if (WeightsParameter.Value != null && ValuesParameter.Value != null) 257 ((IStringConvertibleArray)WeightsParameter.Value).Length = ValuesParameter.Value.Length; 252 258 } 253 259 void PenaltyParameter_ValueChanged(object sender, EventArgs e) {
Note: See TracChangeset
for help on using the changeset viewer.