Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Crossovers/ZhuCrossover.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Problems.VehicleRouting.Encodings.General; 28 28 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 30 30 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 31 31 [Item("ZhuCrossover", "An operator which crosses two VRP representations.")] 32 [Storable Class]32 [StorableType("557D7F37-14DB-4CB8-92B0-DB2BC039F36C")] 33 33 public abstract class ZhuCrossover : VRPCrossover, IStochasticOperator, IZhuOperator { 34 34 public ILookupParameter<IRandom> RandomParameter { … … 37 37 38 38 [StorableConstructor] 39 protected ZhuCrossover( bool deserializing) : base(deserializing) { }39 protected ZhuCrossover(StorableConstructorFlag _) : base(_) { } 40 40 41 41 public ZhuCrossover() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Crossovers/ZhuHeuristicCrossover1.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 27 27 [Item("ZhuHeuristicCrossover1", "The Zhu Heuristic Crossover (Version 1). It is implemented as described in Zhu, K.Q. (2000). A New Genetic Algorithm For VRPTW. Proceedings of the International Conference on Artificial Intelligence.")] 28 [Storable Class]28 [StorableType("C3E48066-FD84-428E-89E7-DD0A8322535E")] 29 29 public sealed class ZhuHeuristicCrossover1 : ZhuCrossover { 30 30 [StorableConstructor] 31 private ZhuHeuristicCrossover1( bool deserializing) : base(deserializing) { }31 private ZhuHeuristicCrossover1(StorableConstructorFlag _) : base(_) { } 32 32 33 33 public ZhuHeuristicCrossover1() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Crossovers/ZhuHeuristicCrossover2.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 28 28 [Item("ZhuHeuristicCrossover2", "The Zhu Heuristic Crossover (Version 2). It is implemented as described in Zhu, K.Q. (2000). A New Genetic Algorithm For VRPTW. Proceedings of the International Conference on Artificial Intelligence.")] 29 [Storable Class]29 [StorableType("69206FC0-4870-4C78-B8FD-6C6EF2ADDA31")] 30 30 public sealed class ZhuHeuristicCrossover2 : ZhuCrossover { 31 31 [StorableConstructor] 32 private ZhuHeuristicCrossover2( bool deserializing) : base(deserializing) { }32 private ZhuHeuristicCrossover2(StorableConstructorFlag _) : base(_) { } 33 33 34 34 public ZhuHeuristicCrossover2() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Crossovers/ZhuMergeCrossover1.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 using HeuristicLab.Problems.VehicleRouting.Variants; 27 27 28 28 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 29 29 [Item("ZhuMergeCrossover1", "The Zhu Merge Crossover (Version 1). It is implemented as described in Zhu, K.Q. (2000). A New Genetic Algorithm For VRPTW. Proceedings of the International Conference on Artificial Intelligence.")] 30 [Storable Class]30 [StorableType("3DF02AC1-B4F2-41C3-83E3-C587EBE70DEF")] 31 31 public sealed class ZhuMergeCrossover1 : ZhuCrossover { 32 32 [StorableConstructor] 33 private ZhuMergeCrossover1( bool deserializing) : base(deserializing) { }33 private ZhuMergeCrossover1(StorableConstructorFlag _) : base(_) { } 34 34 35 35 public ZhuMergeCrossover1() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Crossovers/ZhuMergeCrossover2.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Problems.VehicleRouting.Variants; 28 28 29 29 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 30 30 [Item("ZhuMergeCrossover2", "The Zhu Merge Crossover (Version 2). It is implemented as described in Zhu, K.Q. (2000). A New Genetic Algorithm For VRPTW. Proceedings of the International Conference on Artificial Intelligence.")] 31 [Storable Class]31 [StorableType("A0714F51-A876-429E-853C-6F29A48B9F8C")] 32 32 public sealed class ZhuMergeCrossover2 : ZhuCrossover { 33 33 [StorableConstructor] 34 private ZhuMergeCrossover2( bool deserializing) : base(deserializing) { }34 private ZhuMergeCrossover2(StorableConstructorFlag _) : base(_) { } 35 35 36 36 public ZhuMergeCrossover2() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Crossovers/ZhuPermutationCrossover.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 29 29 [Item("ZhuPermutationCrossover", "An operator which crosses two VRP representations using a standard permutation operator. It is implemented as described in Zhu, K.Q. (2000). A New Genetic Algorithm For VRPTW. Proceedings of the International Conference on Artificial Intelligence.")] 30 [Storable Class]30 [StorableType("1D216531-C9D8-4A12-BCFD-7E97161EC383")] 31 31 public sealed class PrinsPermutationCrossover : ZhuCrossover { 32 32 public IValueLookupParameter<IPermutationCrossover> InnerCrossoverParameter { … … 35 35 36 36 [StorableConstructor] 37 private PrinsPermutationCrossover( bool deserializing) : base(deserializing) { }37 private PrinsPermutationCrossover(StorableConstructorFlag _) : base(_) { } 38 38 39 39 public PrinsPermutationCrossover() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/IZhuOperator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Problems.VehicleRouting.Variants; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 26 [StorableType("CD11FA3C-3B50-4710-AAFC-32C9C61B3321")] 25 27 public interface IZhuOperator : 26 28 ISingleDepotOperator, IHomogenousCapacitatedOperator, ITimeWindowedOperator { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Manipulators/ZhuManipulator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Problems.VehicleRouting.Encodings.General; 28 28 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 30 30 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 31 31 [Item("ZhuManipulator", "An operator which manipulates a VRP representation.")] 32 [Storable Class]32 [StorableType("DC8B774D-4D51-4439-90BC-9533CACF74FD")] 33 33 public abstract class ZhuManipulator : VRPManipulator, IStochasticOperator, IZhuOperator { 34 34 public ILookupParameter<IRandom> RandomParameter { … … 37 37 38 38 [StorableConstructor] 39 protected ZhuManipulator( bool deserializing) : base(deserializing) { }39 protected ZhuManipulator(StorableConstructorFlag _) : base(_) { } 40 40 41 41 public ZhuManipulator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Manipulators/ZhuPermutationManipulator.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 29 29 [Item("ZhuPermutationManipulator", "An operator which manipulates a VRP representation by using a standard permutation manipulator. It is implemented as described in Zhu, K.Q. (2000). A New Genetic Algorithm For VRPTW. Proceedings of the International Conference on Artificial Intelligence.")] 30 [Storable Class]30 [StorableType("2D0168F4-40E8-4E54-AEAD-E8CEAE355AEB")] 31 31 public sealed class ZhuPermutationManipulator : ZhuManipulator { 32 32 public IValueLookupParameter<IPermutationManipulator> InnerManipulatorParameter { … … 35 35 36 36 [StorableConstructor] 37 private ZhuPermutationManipulator( bool deserializing) : base(deserializing) { }37 private ZhuPermutationManipulator(StorableConstructorFlag _) : base(_) { } 38 38 39 39 public ZhuPermutationManipulator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/ZhuEncoding.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Problems.VehicleRouting.Interfaces; 29 29 30 30 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu { 31 31 [Item("ZhuEncoding", "Represents a Zhu encoding of VRP solutions. It is implemented as described in Zhu, K.Q. (2000). A New Genetic Algorithm For VRPTW. Proceedings of the International Conference on Artificial Intelligence.")] 32 [Storable Class]32 [StorableType("1A5F5A1D-E4F5-4477-887E-45FC488BC459")] 33 33 public class ZhuEncoding : General.PermutationEncoding { 34 34 #region IVRPEncoding Members … … 108 108 109 109 [StorableConstructor] 110 protected ZhuEncoding(bool serializing) 111 : base(serializing) { 110 protected ZhuEncoding(StorableConstructorFlag _) : base(_) { 112 111 } 113 112
Note: See TracChangeset
for help on using the changeset viewer.