- Timestamp:
- 01/20/12 13:52:51 (13 years ago)
- Location:
- branches/HiveHiveEngine
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveHiveEngine
- Property svn:ignore
- Property svn:mergeinfo changed
/trunk/sources (added) merged: 7294-7295,7297,7304-7306,7318,7327,7333,7335,7341-7342,7351-7353,7369-7370
-
branches/HiveHiveEngine/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.VehicleRouting (added) merged: 7351
- Property svn:mergeinfo changed
-
branches/HiveHiveEngine/HeuristicLab.Problems.VehicleRouting/3.3/Analyzers/BestVRPSolutionAnalyzer.cs
r7259 r7383 125 125 126 126 [StorableHook(HookType.AfterDeserialization)] 127 private void AfterDeserializationHook() { 128 #region Backwards Compatibility 127 private void AfterDeserialization() { 128 // BackwardsCompatibility3.3 129 #region Backwards compatible code, remove with 3.4 129 130 if (!Parameters.ContainsKey("BestKnownQuality")) { 130 131 Parameters.Add(new LookupParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution of this VRP instance.")); -
branches/HiveHiveEngine/HeuristicLab.Problems.VehicleRouting/3.3/VehicleRoutingProblem.cs
r7259 r7383 155 155 private VehicleRoutingProblem(VehicleRoutingProblem original, Cloner cloner) 156 156 : base(original, cloner) { 157 AttachEventHandlers();157 RegisterEventHandlers(); 158 158 } 159 159 public VehicleRoutingProblem() … … 187 187 188 188 InitializeOperators(); 189 AttachEventHandlers();189 RegisterEventHandlers(); 190 190 } 191 191 … … 355 355 #region Helpers 356 356 [StorableHook(HookType.AfterDeserialization)] 357 private void AfterDeserializationHook() { 358 #region Backwards Compatibility 357 private void AfterDeserialization() { 358 // BackwardsCompatibility3.3 359 #region Backwards compatible code, remove with 3.4 359 360 if (!Parameters.ContainsKey("BestKnownSolution")) { 360 361 Parameters.Add(new OptionalValueParameter<IVRPEncoding>("BestKnownSolution", "The best known solution of this TSP instance.")); … … 362 363 #endregion 363 364 364 AttachEventHandlers();365 } 366 367 private void AttachEventHandlers() {365 RegisterEventHandlers(); 366 } 367 368 private void RegisterEventHandlers() { 368 369 CoordinatesParameter.ValueChanged += new EventHandler(CoordinatesParameter_ValueChanged); 369 370 Coordinates.ItemChanged += new EventHandler<EventArgs<int, int>>(Coordinates_ItemChanged);
Note: See TracChangeset
for help on using the changeset viewer.