Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/03/20 18:06:16 (4 years ago)
Author:
abeham
Message:

#2521: working on VRP

Location:
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/AlbaEncoding.cs

    r17704 r17711  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Optimization;
    2928using HeuristicLab.PluginInfrastructure;
    3029using HeuristicLab.Problems.VehicleRouting.Interfaces;
     
    3332  [Item("AlbaEncoding", "Represents the encoding for Alba encoded solutions.")]
    3433  [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")]
    35   public class AlbaEncoding : Encoding, IVRPEncoding {
     34  public sealed class AlbaEncoding : VRPEncoding {
    3635
    3736    [StorableConstructor]
     
    6059      };
    6160    }
    62     private void DiscoverOperators() {
     61    protected override void DiscoverOperators() {
    6362      var assembly = typeof(IAlbaOperator).Assembly;
    6463      var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false);
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/GVR/GVREncoding.cs

    r17706 r17711  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Optimization;
    2928using HeuristicLab.PluginInfrastructure;
    3029using HeuristicLab.Problems.VehicleRouting.Interfaces;
     
    3332  [Item("GVR Encoding", "Represents the genetic vehicle representation encoding for GVR encoded solutions.")]
    3433  [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")]
    35   public class GVREncoding : Encoding, IVRPEncoding {
     34  public class GVREncoding : VRPEncoding {
    3635
    3736    [StorableConstructor]
     
    6059      };
    6160    }
    62     private void DiscoverOperators() {
     61    protected override void DiscoverOperators() {
    6362      var assembly = typeof(IGVROperator).Assembly;
    6463      var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false);
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/MultiVRPEncoding.cs

    r17706 r17711  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Optimization;
    2928using HeuristicLab.PluginInfrastructure;
    3029using HeuristicLab.Problems.VehicleRouting.Interfaces;
     
    3332  [Item("MultiVRPEncoding", "Represents the combination of all encodings from the VRP.")]
    3433  [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")]
    35   public class MultiVRPEncoding : Encoding, IVRPEncoding {
     34  public class MultiVRPEncoding : VRPEncoding {
    3635
    3736    [StorableConstructor]
     
    5857      };
    5958    }
    60     private void DiscoverOperators() {
     59    protected override void DiscoverOperators() {
    6160      var assembly = typeof(IAlbaOperator).Assembly;
    6261      var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false);
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/PotvinEncoding.cs

    r17706 r17711  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Optimization;
    2928using HeuristicLab.PluginInfrastructure;
    3029using HeuristicLab.Problems.VehicleRouting.Interfaces;
     
    3332  [Item("Potvin Encoding", "Represents the Potvin encoding for Potvin encoded solutions.")]
    3433  [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")]
    35   public class PotvinEncoding : Encoding, IVRPEncoding {
     34  public class PotvinEncoding : VRPEncoding {
    3635
    3736    [StorableConstructor]
     
    6059      };
    6160    }
    62     private void DiscoverOperators() {
     61    protected override void DiscoverOperators() {
    6362      var assembly = typeof(IPotvinOperator).Assembly;
    6463      var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false);
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Prins/PrinsEncoding.cs

    r17706 r17711  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Optimization;
    2928using HeuristicLab.PluginInfrastructure;
    3029using HeuristicLab.Problems.VehicleRouting.Interfaces;
     
    3332  [Item("Prins Encoding", "Represents the Prins encoding for Prins encoded solutions.")]
    3433  [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")]
    35   public class PrinsEncoding : Encoding, IVRPEncoding {
     34  public class PrinsEncoding : VRPEncoding {
    3635
    3736    [StorableConstructor]
     
    6059      };
    6160    }
    62     private void DiscoverOperators() {
     61    protected override void DiscoverOperators() {
    6362      var assembly = typeof(IPrinsOperator).Assembly;
    6463      var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false);
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/ZhuEncoding.cs

    r17706 r17711  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Optimization;
    2928using HeuristicLab.PluginInfrastructure;
    3029using HeuristicLab.Problems.VehicleRouting.Interfaces;
     
    3332  [Item("Zhu Encoding", "Represents the Zhu encoding for Zhu encoded solutions.")]
    3433  [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")]
    35   public class ZhuEncoding : Encoding, IVRPEncoding {
     34  public class ZhuEncoding : VRPEncoding {
    3635
    3736    [StorableConstructor]
     
    6059      };
    6160    }
    62     private void DiscoverOperators() {
     61    protected override void DiscoverOperators() {
    6362      var assembly = typeof(IZhuOperator).Assembly;
    6463      var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false);
Note: See TracChangeset for help on using the changeset viewer.