Changeset 13437 for branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/JSMRandomCreator.cs
- Timestamp:
- 12/06/15 15:33:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/JSMRandomCreator.cs
r13435 r13437 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Data;25 24 using HeuristicLab.Encodings.PermutationEncoding; 26 25 using HeuristicLab.Optimization; … … 28 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 28 30 namespace HeuristicLab.Encodings.ScheduleEncoding .JobSequenceMatrix{29 namespace HeuristicLab.Encodings.ScheduleEncoding { 31 30 [Item("JobSequenceMatrixCreator", "Creator class used to create Job Sequence Matrix solutions for standard JobShop scheduling problems.")] 32 31 [StorableClass] … … 35 34 public ILookupParameter<IRandom> RandomParameter { 36 35 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 37 }38 public IValueLookupParameter<IntValue> JobsParameter {39 get { return (IValueLookupParameter<IntValue>)Parameters["Jobs"]; }40 }41 public IValueLookupParameter<IntValue> ResourcesParameter {42 get { return (IValueLookupParameter<IntValue>)Parameters["Resources"]; }43 36 } 44 37 … … 49 42 : base() { 50 43 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator.")); 51 Parameters.Add(new ValueLookupParameter<IntValue>("Jobs", "The number of jobs handled in this problem instance."));52 Parameters.Add(new ValueLookupParameter<IntValue>("Resources", "The number of resources used in this problem instance."));53 54 ScheduleParameter.ActualName = "JobSequenceMatrix";55 44 } 56 45
Note: See TracChangeset
for help on using the changeset viewer.