Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/09/10 09:55:31 (13 years ago)
Author:
svonolfe
Message:

Merged relevant changes from the trunk into the branch (cloning,...) (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/GVR/GVREncoding.cs

    r4379 r4752  
    7979    }
    8080   
    81     public override IDeepCloneable Clone(HeuristicLab.Common.Cloner cloner) {
    82       GVREncoding clone = new GVREncoding(ProblemInstance);
    83       cloner.RegisterClonedObject(this, clone);
    84       clone.Tours = (ItemList<Tour>)cloner.Clone(this.Tours);
    85      
    86       return clone;
    87     }
    88 
    8981    public GVREncoding(IVRPProblemInstance problemInstance)
    9082      : base(problemInstance) {
     
    9486    private GVREncoding(bool serializing)
    9587      : base(serializing) {
     88    }
     89
     90    public override IDeepCloneable Clone(Cloner cloner) {
     91      return new GVREncoding(this, cloner);
     92    }
     93
     94    protected GVREncoding(GVREncoding original, Cloner cloner)
     95      : base(original, cloner) {
    9696    }
    9797
Note: See TracChangeset for help on using the changeset viewer.