Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 20:28:04 (13 years ago)
Author:
abeham
Message:

#922

  • Refactored GVR encoding in HeuristicLab.Problems.VehicleRouting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/GVR/Manipulators/GVRInsertionManipulator.cs

    r4352 r4689  
    2525using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2626using HeuristicLab.Data;
     27using HeuristicLab.Common;
    2728
    2829namespace HeuristicLab.Problems.VehicleRouting.Encodings.GVR {
     
    3233    [StorableConstructor]
    3334    private GVRInsertionManipulator(bool deserializing) : base(deserializing) { }
    34 
    35     public GVRInsertionManipulator()
    36       : base() {
     35    private GVRInsertionManipulator(GVRInsertionManipulator original, Cloner cloner) : base(original, cloner) { }
     36    public override IDeepCloneable Clone(Cloner cloner) {
     37      return new GVRInsertionManipulator(this, cloner);
    3738    }
     39    public GVRInsertionManipulator() : base() { }
    3840
    3941    protected override void Manipulate(IRandom random, GVREncoding individual) {
Note: See TracChangeset for help on using the changeset viewer.