Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/BiasedMultiVRPSolutionCrossover.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 using HeuristicLab.Random; 33 33 34 34 namespace HeuristicLab.Problems.VehicleRouting.Encodings.General { 35 35 [Item("BiasedMultiVRPSolutionCrossover", "Randomly selects and applies one of its crossovers every time it is called based on the success progress.")] 36 [Storable Class]36 [StorableType("9F319402-CF27-4355-9764-B7DDECBA2A15")] 37 37 public class BiasedMultiVRPSolutionCrossover : MultiVRPSolutionCrossover { 38 38 public ValueLookupParameter<DoubleArray> ActualProbabilitiesParameter { … … 57 57 58 58 [StorableConstructor] 59 protected BiasedMultiVRPSolutionCrossover( bool deserializing) : base(deserializing) { }59 protected BiasedMultiVRPSolutionCrossover(StorableConstructorFlag _) : base(_) { } 60 60 protected BiasedMultiVRPSolutionCrossover(BiasedMultiVRPSolutionCrossover original, Cloner cloner) : base(original, cloner) { } 61 61 public BiasedMultiVRPSolutionCrossover() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/MultiVRPSolutionCrossover.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 using HeuristicLab.Problems.VehicleRouting.Interfaces; 33 33 using HeuristicLab.Problems.VehicleRouting.Variants; … … 35 35 namespace HeuristicLab.Problems.VehicleRouting.Encodings.General { 36 36 [Item("MultiVRPSolutionCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 37 [Storable Class]37 [StorableType("68B26F83-1FF1-42B9-BDB8-606EC8C462C7")] 38 38 public class MultiVRPSolutionCrossover : StochasticMultiBranch<IVRPCrossover>, IVRPCrossover, IGeneralVRPOperator, IMultiVRPOperator, IStochasticOperator { 39 39 public override bool CanChangeName { … … 58 58 59 59 [StorableConstructor] 60 protected MultiVRPSolutionCrossover( bool deserializing) : base(deserializing) { }60 protected MultiVRPSolutionCrossover(StorableConstructorFlag _) : base(_) { } 61 61 public MultiVRPSolutionCrossover() 62 62 : base() { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/RandomParentCloneCrossover.cs
r16453 r16462 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 using HeuristicLab.Problems.VehicleRouting.Interfaces; 28 28 using HeuristicLab.Problems.VehicleRouting.Variants; … … 30 30 namespace HeuristicLab.Problems.VehicleRouting.Encodings.General.Crossovers { 31 31 [Item("RandomParentCloneCrossover", "An operator which randomly chooses one parent and returns a clone.")] 32 [Storable Class]32 [StorableType("418EA2DE-C098-4A88-82B9-CB68732DB2AC")] 33 33 public sealed class RandomParentCloneCrossover : VRPOperator, IStochasticOperator, IGeneralVRPOperator, IVRPCrossover { 34 34 public ILookupParameter<IRandom> RandomParameter { … … 45 45 46 46 [StorableConstructor] 47 private RandomParentCloneCrossover( bool deserializing) : base(deserializing) { }47 private RandomParentCloneCrossover(StorableConstructorFlag _) : base(_) { } 48 48 49 49 public RandomParentCloneCrossover() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/VRPCrossover.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Problems.VehicleRouting.Interfaces; 27 27 28 28 namespace HeuristicLab.Problems.VehicleRouting.Encodings.General { 29 29 [Item("VRPCrossover", "Crosses VRP solutions.")] 30 [Storable Class]30 [StorableType("E26BAD0A-49E6-477C-AEA0-CB41552F0B2B")] 31 31 public abstract class VRPCrossover : VRPOperator, IVRPCrossover { 32 32 public ILookupParameter<ItemArray<IVRPEncoding>> ParentsParameter { … … 39 39 40 40 [StorableConstructor] 41 protected VRPCrossover( bool deserializing) : base(deserializing) { }41 protected VRPCrossover(StorableConstructorFlag _) : base(_) { } 42 42 43 43 public VRPCrossover()
Note: See TracChangeset
for help on using the changeset viewer.