Changeset 15973 for branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/MultiDepotVRP/MDCVRP/MDCVRPProblemInstance.cs
- Timestamp:
- 06/28/18 11:13:37 (7 years ago)
- Location:
- branches/2522_RefactorPluginInfrastructure
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2522_RefactorPluginInfrastructure
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
-
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/MultiDepotVRP/MDCVRP/MDCVRPProblemInstance.cs
r12488 r15973 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 110 110 111 111 private void AttachEventHandlers() { 112 CapacityParameter.ValueChanged += new EventHandler(CapacityParameter_ValueChanged); 113 OverloadPenaltyParameter.ValueChanged += new EventHandler(OverloadPenaltyParameter_ValueChanged); 114 OverloadPenaltyParameter.Value.ValueChanged += new EventHandler(OverloadPenalty_ValueChanged); 112 CapacityParameter.ValueChanged += CapacityParameter_ValueChanged; 113 Capacity.Reset += Capacity_Changed; 114 Capacity.ItemChanged += Capacity_Changed; 115 OverloadPenaltyParameter.ValueChanged += OverloadPenaltyParameter_ValueChanged; 116 OverloadPenalty.ValueChanged += OverloadPenalty_ValueChanged; 115 117 } 116 118 … … 123 125 #region Event handlers 124 126 void CapacityParameter_ValueChanged(object sender, EventArgs e) { 127 Capacity.Reset += Capacity_Changed; 128 Capacity.ItemChanged += Capacity_Changed; 129 EvalBestKnownSolution(); 130 } 131 private void Capacity_Changed(object sender, EventArgs e) { 125 132 EvalBestKnownSolution(); 126 133 } 127 134 void OverloadPenaltyParameter_ValueChanged(object sender, EventArgs e) { 128 OverloadPenalty Parameter.Value.ValueChanged += new EventHandler(OverloadPenalty_ValueChanged);135 OverloadPenalty.ValueChanged += OverloadPenalty_ValueChanged; 129 136 EvalBestKnownSolution(); 130 137 }
Note: See TracChangeset
for help on using the changeset viewer.