Ignore:
Timestamp:
12/06/15 15:33:25 (5 years ago)
Author:
mkommend
Message:

#2521: Added encodings for schedules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/PWRRandomCreator.cs

    r13435 r13437  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Data;
    2524using HeuristicLab.Optimization;
    2625using HeuristicLab.Parameters;
    2726using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2827
    29 namespace HeuristicLab.Encodings.ScheduleEncoding.PermutationWithRepetition {
     28namespace HeuristicLab.Encodings.ScheduleEncoding {
    3029  [Item("PermutationWithRepetitionRandomCreator", "Creates PWR-individuals at random.")]
    3130  [StorableClass]
     
    3433    public ILookupParameter<IRandom> RandomParameter {
    3534      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    36     }
    37     public IValueLookupParameter<IntValue> JobsParameter {
    38       get { return (IValueLookupParameter<IntValue>)Parameters["Jobs"]; }
    39     }
    40     public IValueLookupParameter<IntValue> ResourcesParameter {
    41       get { return (IValueLookupParameter<IntValue>)Parameters["Resources"]; }
    4235    }
    4336
     
    4841      : base() {
    4942      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator."));
    50       Parameters.Add(new ValueLookupParameter<IntValue>("Jobs", "The number of jobs handled in this problem instance."));
    51       Parameters.Add(new ValueLookupParameter<IntValue>("Resources", "The number of resources used in this problem instance."));
    52 
    53       ScheduleParameter.ActualName = "PermutationWithRepetition";
    5443    }
    5544
Note: See TracChangeset for help on using the changeset viewer.