Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/25/20 01:23:08 (5 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingOperator.cs

    r17226 r17699  
    3030namespace HeuristicLab.Optimization {
    3131  [StorableType("43619638-9D00-4951-8138-8CCD0786E784")]
    32   internal abstract class MultiEncodingOperator<T> : InstrumentedOperator, IEncodingOperator<CombinedSolution>, IMultiEncodingOperator where T : class, IOperator {
     32  internal abstract class MultiEncodingOperator<T> : InstrumentedOperator, IEncodingOperator, IMultiEncodingOperator where T : class, IOperator {
    3333    public ILookupParameter<CombinedSolution> SolutionParameter {
    3434      get { return (ILookupParameter<CombinedSolution>)Parameters["Solution"]; }
    3535    }
    3636
    37     public ILookupParameter<IEncoding<CombinedSolution>> EncodingParameter {
    38       get { return (ILookupParameter<IEncoding<CombinedSolution>>)Parameters["Encoding"]; }
     37    public ILookupParameter<IEncoding> EncodingParameter {
     38      get { return (ILookupParameter<IEncoding>)Parameters["Encoding"]; }
    3939    }
    4040
     
    4747      : base() {
    4848      Parameters.Add(new LookupParameter<CombinedSolution>("Solution", "The solution that gets created."));
    49       Parameters.Add(new LookupParameter<IEncoding<CombinedSolution>>("Encoding", "The encoding."));
     49      Parameters.Add(new LookupParameter<IEncoding>("Encoding", "The encoding."));
    5050    }
    5151
Note: See TracChangeset for help on using the changeset viewer.