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.Problems.Programmable/3.3
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/CompiledProblemDefinition.cs

    r17382 r17699  
    2929namespace HeuristicLab.Problems.Programmable {
    3030  public abstract class CompiledProblemDefinition<TEncoding, TEncodedSolution> : IProblemDefinition<TEncoding, TEncodedSolution>
    31     where TEncoding : class, IEncoding<TEncodedSolution>
     31    where TEncoding : class, IEncoding
    3232    where TEncodedSolution : class, IEncodedSolution {
    3333    private TEncoding encoding;
     
    5151
    5252  public abstract class CompiledSingleObjectiveProblemDefinition<TEncoding, TEncodedSolution> : CompiledProblemDefinition<TEncoding, TEncodedSolution>, ISingleObjectiveProblemDefinition<TEncoding, TEncodedSolution>
    53     where TEncoding : class, IEncoding<TEncodedSolution>
     53    where TEncoding : class, IEncoding
    5454    where TEncodedSolution : class, IEncodedSolution {
    5555    protected CompiledSingleObjectiveProblemDefinition() : base() { }
     
    9595
    9696  public abstract class CompiledMultiObjectiveProblemDefinition<TEncoding, TEncodedSolution> : CompiledProblemDefinition<TEncoding, TEncodedSolution>, IMultiObjectiveProblemDefinition<TEncoding, TEncodedSolution>
    97     where TEncoding : class, IEncoding<TEncodedSolution>
     97    where TEncoding : class, IEncoding
    9898    where TEncodedSolution : class, IEncodedSolution {
    9999    protected CompiledMultiObjectiveProblemDefinition() : base() { }
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProblemDefinitionScript.cs

    r17320 r17699  
    3131  [StorableType("17741D64-CF9D-4CCF-9892-0590C325D4E6")]
    3232  public sealed class MultiObjectiveProblemDefinitionScript<TEncoding, TEncodedSolution> : ProblemDefinitionScript<TEncoding, TEncodedSolution>, IMultiObjectiveProblemDefinition<TEncoding, TEncodedSolution>, IStorableContent
    33     where TEncoding : class, IEncoding<TEncodedSolution>
     33    where TEncoding : class, IEncoding
    3434    where TEncodedSolution : class, IEncodedSolution {
    3535    public string Filename { get; set; }
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs

    r17320 r17699  
    3535  [StorableType("1AA24077-4E1E-4FAE-8EC8-B6008DFD30B9")]
    3636  public abstract class MultiObjectiveProgrammableProblem<TEncoding, TEncodedSolution> : MultiObjectiveProblem<TEncoding, TEncodedSolution>, IProgrammableItem, IProgrammableProblem
    37     where TEncoding : class, IEncoding<TEncodedSolution>
     37    where TEncoding : class, IEncoding
    3838    where TEncodedSolution : class, IEncodedSolution {
    3939    protected static readonly string ENCODING_NAMESPACE = "ENCODING_NAMESPACE";
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/ProblemDefinitionScript.cs

    r17226 r17699  
    5757  [StorableType("0B3AF22C-4744-4860-BBCF-A92046000847")]
    5858  public abstract class ProblemDefinitionScript<TEncoding, TEncodedSolution> : ProblemDefinitionScript, IProblemDefinition<TEncoding, TEncodedSolution>
    59     where TEncoding : class, IEncoding<TEncodedSolution>
     59    where TEncoding : class, IEncoding
    6060    where TEncodedSolution : class, IEncodedSolution {
    6161
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProblemDefinitionScript.cs

    r17383 r17699  
    3131  [StorableType("D0B2A649-EDDE-4A6E-A3B5-F40F5FD1B2C0")]
    3232  public sealed class SingleObjectiveProblemDefinitionScript<TEncoding, TEncodedSolution> : ProblemDefinitionScript<TEncoding, TEncodedSolution>, ISingleObjectiveProblemDefinition<TEncoding, TEncodedSolution>, IStorableContent
    33     where TEncoding : class, IEncoding<TEncodedSolution>
     33    where TEncoding : class, IEncoding
    3434    where TEncodedSolution : class, IEncodedSolution {
    3535    public string Filename { get; set; }
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs

    r17383 r17699  
    3636  [StorableType("44944E6B-E95E-4805-8F0A-0C0F7D761DB9")]
    3737  public abstract class SingleObjectiveProgrammableProblem<TEncoding, TEncodedSolution> : SingleObjectiveProblem<TEncoding, TEncodedSolution>, IProgrammableItem, IProgrammableProblem
    38     where TEncoding : class, IEncoding<TEncodedSolution>
     38    where TEncoding : class, IEncoding
    3939    where TEncodedSolution : class, IEncodedSolution {
    4040    protected static readonly string ENCODING_NAMESPACE = "ENCODING_NAMESPACE";
Note: See TracChangeset for help on using the changeset viewer.