Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/30/12 16:46:06 (12 years ago)
Author:
abeham
Message:

#1722: changed name of AfterDeserializationHook in some classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/MultiDepotVRP/MDCVRP/MDCVRPProblemInstance.cs

    r7864 r7934  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
    26 using HeuristicLab.Problems.VehicleRouting.Interfaces;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Common;
    2826using HeuristicLab.Core;
    29 using HeuristicLab.Parameters;
    3027using HeuristicLab.Data;
    3128using HeuristicLab.Optimization;
     29using HeuristicLab.Parameters;
     30using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3231using HeuristicLab.PluginInfrastructure;
     32using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3333using HeuristicLab.Problems.VehicleRouting.Variants;
    34 using HeuristicLab.Common;
    3534
    3635namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances {
    3736  [Item("MDCVRPProblemInstance", "Represents a multi depot CVRP instance.")]
    3837  [StorableClass]
    39   public class MDCVRPProblemInstance: MultiDepotVRPProblemInstance, IHeterogenousCapacitatedProblemInstance {
     38  public class MDCVRPProblemInstance : MultiDepotVRPProblemInstance, IHeterogenousCapacitatedProblemInstance {
    4039    protected IValueParameter<DoubleArray> CapacityParameter {
    4140      get { return (IValueParameter<DoubleArray>)Parameters["Capacity"]; }
     
    6665
    6766    protected override IEnumerable<IOperator> GetOperators() {
    68         return base.GetOperators()
    69           .Where(o => o is IHeterogenousCapacitatedOperator).Cast<IOperator>();
     67      return base.GetOperators()
     68        .Where(o => o is IHeterogenousCapacitatedOperator).Cast<IOperator>();
    7069    }
    7170
     
    8180      }
    8281    }
    83    
     82
    8483    [StorableConstructor]
    8584    protected MDCVRPProblemInstance(bool deserializing) : base(deserializing) { }
     
    9998    protected MDCVRPProblemInstance(MDCVRPProblemInstance original, Cloner cloner)
    10099      : base(original, cloner) {
    101         AttachEventHandlers();
     100      AttachEventHandlers();
    102101    }
    103102
    104103    [StorableHook(HookType.AfterDeserialization)]
    105     private void AfterDeserializationHook() {
     104    private void AfterDeserialization() {
    106105      AttachEventHandlers();
    107106    }
Note: See TracChangeset for help on using the changeset viewer.