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/Encodings/Alba/Creators/RandomCreator.cs

    r4362 r4752  
    2828using HeuristicLab.Parameters;
    2929using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Common;
    3031
    3132namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba {
     
    4546      : base() {
    4647      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator."));
     48    }
     49
     50    public override IDeepCloneable Clone(Cloner cloner) {
     51      return new RandomCreator(this, cloner);
     52    }
     53
     54    private RandomCreator(RandomCreator original, Cloner cloner)
     55      : base(original, cloner) {
    4756    }
    4857
Note: See TracChangeset for help on using the changeset viewer.