Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/26/11 10:25:04 (13 years ago)
Author:
jhelm
Message:

#1329: Did some heavy refactoring after "code-review meeting". Added Encodings.SchedulingEncoding plugin to store encodings used in scheduling problems.

Location:
branches/Scheduling/HeuristicLab.Problems.Scheduling/3.3/Evaluators
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/Scheduling/HeuristicLab.Problems.Scheduling/3.3/Evaluators/MakespanEvaluator.cs

    r6266 r6293  
    3030using HeuristicLab.Optimization;
    3131using HeuristicLab.Parameters;
     32using HeuristicLab.Encodings.SchedulingEncoding;
    3233
    3334namespace HeuristicLab.Problems.Scheduling.Evaluators {
  • branches/Scheduling/HeuristicLab.Problems.Scheduling/3.3/Evaluators/MeanTardinessEvaluator.cs

    r6266 r6293  
    3030using HeuristicLab.Optimization;
    3131using HeuristicLab.Parameters;
    32 using HeuristicLab.Problems.Scheduling.Interfaces;
     32using HeuristicLab.Encodings.SchedulingEncoding;
    3333
    3434namespace HeuristicLab.Problems.Scheduling.Evaluators {
    3535  [Item("Men tardiness Evaluator", "Represents an evaluator using the mean tardiness of a schedule.")]
    3636  [StorableClass]
    37   public class MeanTardinessEvaluator : SchedulingEvaluator, IJSSPOperator {
     37  public class MeanTardinessEvaluator : SchedulingEvaluator {
    3838    [StorableConstructor]
    3939    protected MeanTardinessEvaluator(bool deserializing) : base(deserializing) { }
     
    4646
    4747    #region Parameter Properties
    48     public ILookupParameter<ItemList<JSSPJob>> JobsParameter {
    49       get { return (ILookupParameter<ItemList<JSSPJob>>)Parameters["Jobs"]; }
     48    public ILookupParameter<ItemList<Job>> JobsParameter {
     49      get { return (ILookupParameter<ItemList<Job>>)Parameters["Jobs"]; }
    5050    }
    5151    #endregion
    5252    #region Properties
    53     public ItemList<JSSPJob> Jobs {
     53    public ItemList<Job> Jobs {
    5454      get { return JobsParameter.ActualValue; }
    5555    }
     
    5757
    5858    public MeanTardinessEvaluator() : base() {
    59       Parameters.Add(new LookupParameter<ItemList<JSSPJob>>("Jobs", "Jobdata defining the precedence relationships and the duration of the tasks in this JSSP-Instance."));
     59      Parameters.Add(new LookupParameter<ItemList<Job>>("Jobs", "Jobdata defining the precedence relationships and the duration of the tasks in this JSSP-Instance."));
    6060    }
    6161
  • branches/Scheduling/HeuristicLab.Problems.Scheduling/3.3/Evaluators/SchedulingEvaluationAlgorithm.cs

    r6266 r6293  
    3131using HeuristicLab.Data;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Problems.Scheduling.Interfaces;
    34 using HeuristicLab.Problems.Scheduling.Encodings;
    35 using HeuristicLab.Problems.Scheduling.Encodings.JobShopScheduling.JobSequenceMatrix;
     33using HeuristicLab.Encodings.SchedulingEncoding.Interfaces;
     34using HeuristicLab.Encodings.SchedulingEncoding;
    3635
    3736namespace HeuristicLab.Problems.Scheduling.Evaluators {
  • branches/Scheduling/HeuristicLab.Problems.Scheduling/3.3/Evaluators/SchedulingEvaluator.cs

    r6266 r6293  
    2929using HeuristicLab.Parameters;
    3030using System;
    31 using HeuristicLab.Problems.Scheduling.Encodings;
    3231using HeuristicLab.Operators;
    33 using HeuristicLab.Problems.Scheduling.Interfaces;
     32using HeuristicLab.Encodings.SchedulingEncoding.Interfaces;
     33using HeuristicLab.Encodings.SchedulingEncoding;
    3434
    3535
Note: See TracChangeset for help on using the changeset viewer.