Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/25/20 01:23:08 (4 years ago)
Author:
abeham
Message:

#2521: Made encodings non-generic classes (the TEncodedSolution type parameter is not actually used), this will make it considerably easier to port the VRP to the new architecture

Location:
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/Interfaces/IScheduleEncoding.cs

    r17680 r17699  
    2929namespace HeuristicLab.Encodings.ScheduleEncoding {
    3030  [StorableType("09b9d24c-2576-495a-b06c-338d095cba0d")]
    31   public interface IScheduleEncoding : IEncoding<IScheduleSolution> {
     31  public interface IScheduleEncoding : IEncoding {
    3232    IValueParameter<ItemList<Job>> JobDataParameter { get; }
    3333    IFixedValueParameter<IntValue> JobsParameter { get; }
     
    4141    Schedule Decode(IScheduleSolution schedule, ItemList<Job> jobData);
    4242  }
    43 
    44   public interface IScheduleEncoding<TSchedule> : IEncoding<TSchedule>
    45     where TSchedule : class, IScheduleSolution {
    46 
    47   }
    4843}
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding.cs

    r17680 r17699  
    3232namespace HeuristicLab.Encodings.ScheduleEncoding {
    3333  [StorableType("D2FB1AF9-EF13-4ED2-B3E9-D5BE4E5772EA")]
    34   public abstract class ScheduleEncoding<TSchedule> : Encoding<TSchedule>, IScheduleEncoding
     34  public abstract class ScheduleEncoding<TSchedule> : Encoding, IScheduleEncoding
    3535  where TSchedule : class, IScheduleSolution {
    3636    [Storable] public IValueParameter<ItemList<Job>> JobDataParameter { get; private set; }
Note: See TracChangeset for help on using the changeset viewer.