Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/09/10 09:55:31 (14 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/ProblemInstances/SingleDepotVRP/CVRP/CVRPProblemInstance.cs

    r4376 r4752  
    3232using HeuristicLab.PluginInfrastructure;
    3333using HeuristicLab.Problems.VehicleRouting.Variants;
     34using HeuristicLab.Common;
    3435
    3536namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances {
     
    7778      Parameters.Add(new ValueParameter<DoubleValue>("EvalOverloadPenalty", "The overload penalty considered in the evaluation.", new DoubleValue(100)));
    7879    }
     80
     81    public override IDeepCloneable Clone(Cloner cloner) {
     82      return new CVRPProblemInstance(this, cloner);
     83    }
     84
     85    protected CVRPProblemInstance(CVRPProblemInstance original, Cloner cloner)
     86      : base(original, cloner) {
     87    }
    7988  }
    8089}
Note: See TracChangeset for help on using the changeset viewer.