- Timestamp:
- 03/19/10 10:59:24 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/Knapsack.cs
r3110 r3111 206 206 ParameterizeEvaluator(); 207 207 ParameterizeSolutionCreator(); 208 209 WeightsParameter.Value.Reset += new EventHandler(WeightsValue_Reset); 210 } 211 void WeightsValue_Reset(object sender, EventArgs e) { 212 ParameterizeSolutionCreator(); 208 213 } 209 214 void ValuesParameter_ValueChanged(object sender, EventArgs e) { 210 215 ParameterizeEvaluator(); 216 ParameterizeSolutionCreator(); 217 218 ValuesParameter.Value.Reset += new EventHandler(ValuesValue_Reset); 219 } 220 void ValuesValue_Reset(object sender, EventArgs e) { 211 221 ParameterizeSolutionCreator(); 212 222 } … … 225 235 KnapsackCapacityParameter.ValueChanged += new EventHandler(KnapsackCapacityParameter_ValueChanged); 226 236 WeightsParameter.ValueChanged += new EventHandler(WeightsParameter_ValueChanged); 237 WeightsParameter.Value.Reset += new EventHandler(WeightsValue_Reset); 227 238 ValuesParameter.ValueChanged += new EventHandler(ValuesParameter_ValueChanged); 239 ValuesParameter.Value.Reset += new EventHandler(ValuesValue_Reset); 228 240 PenaltyParameter.ValueChanged += new EventHandler(PenaltyParameter_ValueChanged); 229 241 }
Note: See TracChangeset
for help on using the changeset viewer.