Changeset 17711 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings
- Timestamp:
- 08/03/20 18:06:16 (4 years ago)
- 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 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Optimization;29 28 using HeuristicLab.PluginInfrastructure; 30 29 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 33 32 [Item("AlbaEncoding", "Represents the encoding for Alba encoded solutions.")] 34 33 [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")] 35 public class AlbaEncoding : Encoding, IVRPEncoding {34 public sealed class AlbaEncoding : VRPEncoding { 36 35 37 36 [StorableConstructor] … … 60 59 }; 61 60 } 62 pr ivate void DiscoverOperators() {61 protected override void DiscoverOperators() { 63 62 var assembly = typeof(IAlbaOperator).Assembly; 64 63 var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false); -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/GVR/GVREncoding.cs
r17706 r17711 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Optimization;29 28 using HeuristicLab.PluginInfrastructure; 30 29 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 33 32 [Item("GVR Encoding", "Represents the genetic vehicle representation encoding for GVR encoded solutions.")] 34 33 [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")] 35 public class GVREncoding : Encoding, IVRPEncoding {34 public class GVREncoding : VRPEncoding { 36 35 37 36 [StorableConstructor] … … 60 59 }; 61 60 } 62 pr ivate void DiscoverOperators() {61 protected override void DiscoverOperators() { 63 62 var assembly = typeof(IGVROperator).Assembly; 64 63 var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false); -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/MultiVRPEncoding.cs
r17706 r17711 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Optimization;29 28 using HeuristicLab.PluginInfrastructure; 30 29 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 33 32 [Item("MultiVRPEncoding", "Represents the combination of all encodings from the VRP.")] 34 33 [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")] 35 public class MultiVRPEncoding : Encoding, IVRPEncoding {34 public class MultiVRPEncoding : VRPEncoding { 36 35 37 36 [StorableConstructor] … … 58 57 }; 59 58 } 60 pr ivate void DiscoverOperators() {59 protected override void DiscoverOperators() { 61 60 var assembly = typeof(IAlbaOperator).Assembly; 62 61 var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false); -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/PotvinEncoding.cs
r17706 r17711 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Optimization;29 28 using HeuristicLab.PluginInfrastructure; 30 29 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 33 32 [Item("Potvin Encoding", "Represents the Potvin encoding for Potvin encoded solutions.")] 34 33 [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")] 35 public class PotvinEncoding : Encoding, IVRPEncoding {34 public class PotvinEncoding : VRPEncoding { 36 35 37 36 [StorableConstructor] … … 60 59 }; 61 60 } 62 pr ivate void DiscoverOperators() {61 protected override void DiscoverOperators() { 63 62 var assembly = typeof(IPotvinOperator).Assembly; 64 63 var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false); -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Prins/PrinsEncoding.cs
r17706 r17711 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Optimization;29 28 using HeuristicLab.PluginInfrastructure; 30 29 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 33 32 [Item("Prins Encoding", "Represents the Prins encoding for Prins encoded solutions.")] 34 33 [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")] 35 public class PrinsEncoding : Encoding, IVRPEncoding {34 public class PrinsEncoding : VRPEncoding { 36 35 37 36 [StorableConstructor] … … 60 59 }; 61 60 } 62 pr ivate void DiscoverOperators() {61 protected override void DiscoverOperators() { 63 62 var assembly = typeof(IPrinsOperator).Assembly; 64 63 var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false); -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/ZhuEncoding.cs
r17706 r17711 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Optimization;29 28 using HeuristicLab.PluginInfrastructure; 30 29 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 33 32 [Item("Zhu Encoding", "Represents the Zhu encoding for Zhu encoded solutions.")] 34 33 [StorableType("9ff9f959-31d2-44e5-8a5e-b122220535c2")] 35 public class ZhuEncoding : Encoding, IVRPEncoding {34 public class ZhuEncoding : VRPEncoding { 36 35 37 36 [StorableConstructor] … … 60 59 }; 61 60 } 62 pr ivate void DiscoverOperators() {61 protected override void DiscoverOperators() { 63 62 var assembly = typeof(IZhuOperator).Assembly; 64 63 var discoveredTypes = ApplicationManager.Manager.GetTypes(encodingSpecificOperatorTypes, assembly, true, false, false);
Note: See TracChangeset
for help on using the changeset viewer.