Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/09/10 18:08:14 (14 years ago)
Author:
svonolfe
Message:

Refactored VRP based on the code review (#1039)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/VRPCreator.cs

    r4154 r4179  
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Encodings {
     29  [Item("VRPCreator", "A VRP creator.")]
    2930  [StorableClass]
    3031  public abstract class VRPCreator : VRPOperator, IVRPCreator {
     
    3435
    3536    #region IVRPCreator Members
    36     public ILookupParameter<IVRPEncoding> VRPSolutionParameter {
    37       get { return (ILookupParameter<IVRPEncoding>)Parameters["VRPSolution"]; }
     37    public ILookupParameter<IVRPEncoding> VRPToursParameter {
     38      get { return (ILookupParameter<IVRPEncoding>)Parameters["VRPTours"]; }
    3839    }
    3940   
    40       public IValueLookupParameter<IntValue> CitiesParameter {
    41         get { return (IValueLookupParameter<IntValue>)Parameters["Cities"]; }
    42       }
     41    public IValueLookupParameter<IntValue> CitiesParameter {
     42      get { return (IValueLookupParameter<IntValue>)Parameters["Cities"]; }
     43    }
     44
     45    [StorableConstructor]
     46    protected VRPCreator(bool deserializing) : base(deserializing) { }
    4347
    4448    public VRPCreator()
    4549      : base() {
    46       Parameters.Add(new LookupParameter<IVRPEncoding>("VRPSolution", "The new VRP solution."));
     50      Parameters.Add(new LookupParameter<IVRPEncoding>("VRPTours", "The new VRP tours."));
    4751    }
    4852
Note: See TracChangeset for help on using the changeset viewer.