Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 13 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/Potvin/Moves/TwoOptStar/IPotvinTwoOptStarMoveOperator.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.Core; 23 23 using HeuristicLab.Problems.VehicleRouting.Interfaces; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 27 [StorableType("371BDEC8-9A88-48DF-A44D-76FB6CE52A63")] 26 28 public interface IPotvinTwoOptStarMoveOperator : IVRPMoveOperator { 27 29 ILookupParameter<PotvinTwoOptStarMove> TwoOptStarMoveParameter { get; } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarExhaustiveMoveGenerator.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.Optimization; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Problems.VehicleRouting.Interfaces; 28 28 29 29 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 30 30 [Item("PotvinTwoOptStarExhaustiveMoveGenerator", "Generates two opt star moves from a given VRP encoding.")] 31 [Storable Class]31 [StorableType("1479DAA2-D7A9-4043-A485-F54F75C1A2DB")] 32 32 public sealed class PotvinTwoOptStarExhaustiveMoveGenerator : PotvinTwoOptStarMoveGenerator, IExhaustiveMoveGenerator { 33 33 public override IDeepCloneable Clone(Cloner cloner) { … … 36 36 37 37 [StorableConstructor] 38 private PotvinTwoOptStarExhaustiveMoveGenerator( bool deserializing) : base(deserializing) { }38 private PotvinTwoOptStarExhaustiveMoveGenerator(StorableConstructorFlag _) : base(_) { } 39 39 40 40 public PotvinTwoOptStarExhaustiveMoveGenerator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMove.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.Optimization; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 using HeuristicLab.Problems.VehicleRouting.Encodings.General; 27 27 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 29 29 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 30 30 [Item("PotvinTwoOptStarMove", "Item that describes a two opt star move on a VRP representation.")] 31 [Storable Class]31 [StorableType("54EBE079-E698-46A6-BCD3-033C0EA3B2DB")] 32 32 public class PotvinTwoOptStarMove : Item, IVRPMove { 33 33 [Storable] … … 80 80 81 81 [StorableConstructor] 82 protected PotvinTwoOptStarMove( bool deserializing) : base(deserializing) { }82 protected PotvinTwoOptStarMove(StorableConstructorFlag _) : base(_) { } 83 83 84 84 #region IVRPMove Members -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveAttribute.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 using HeuristicLab.Problems.VehicleRouting.Encodings.General; 26 26 27 27 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 28 28 [Item("PotvinTwoOptStarMoveAttribute", "Two opt star move attribute")] 29 [Storable Class]29 [StorableType("BE6E1C1B-335A-4FDB-9105-A7304380510E")] 30 30 public class PotvinTwoOptStarMoveAttribute : VRPMoveAttribute { 31 31 [Storable] … … 42 42 43 43 [StorableConstructor] 44 protected PotvinTwoOptStarMoveAttribute( bool deserializing) : base(deserializing) { }44 protected PotvinTwoOptStarMoveAttribute(StorableConstructorFlag _) : base(_) { } 45 45 protected PotvinTwoOptStarMoveAttribute(PotvinTwoOptStarMoveAttribute original, Cloner cloner) 46 46 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveEvaluator.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.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 28 28 [Item("PotvinTwoOptStarMoveEvaluator", "Evaluates a two opt star move for a VRP representation. ")] 29 [Storable Class]29 [StorableType("5CB2E8F6-191E-4EBE-B832-18BECC9BB19B")] 30 30 public sealed class PotvinTwoOptStarMoveEvaluator : PotvinMoveEvaluator, IPotvinTwoOptStarMoveOperator { 31 31 public ILookupParameter<PotvinTwoOptStarMove> TwoOptStarMoveParameter { … … 37 37 } 38 38 [StorableConstructor] 39 private PotvinTwoOptStarMoveEvaluator( bool deserializing) : base(deserializing) { }39 private PotvinTwoOptStarMoveEvaluator(StorableConstructorFlag _) : base(_) { } 40 40 41 41 public PotvinTwoOptStarMoveEvaluator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveGenerator.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.Parameters; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 using HeuristicLab.Problems.VehicleRouting.Interfaces; 27 27 28 28 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 29 29 [Item("PotvinTwoOptStarMoveGenerator", "Generates two opt star moves from a given VRP encoding.")] 30 [Storable Class]30 [StorableType("DDAD1DFC-3E6D-42DD-B4ED-24AC44D968A9")] 31 31 public abstract class PotvinTwoOptStarMoveGenerator : PotvinMoveGenerator, IPotvinTwoOptStarMoveOperator { 32 32 public ILookupParameter<PotvinTwoOptStarMove> TwoOptStarMoveParameter { … … 43 43 44 44 [StorableConstructor] 45 protected PotvinTwoOptStarMoveGenerator( bool deserializing) : base(deserializing) { }45 protected PotvinTwoOptStarMoveGenerator(StorableConstructorFlag _) : base(_) { } 46 46 47 47 public PotvinTwoOptStarMoveGenerator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveMaker.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.Optimization; 26 26 using HeuristicLab.Parameters; 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.Potvin { 31 31 [Item("PotvinTwoOptStarMoveMaker", "Peforms the two opt star move on a given VRP encoding and updates the quality.")] 32 [Storable Class]32 [StorableType("3DCD4D99-DED9-48FB-953C-332F27A6E4D9")] 33 33 public class PotvinTwoOptStarMoveMaker : PotvinMoveMaker, IPotvinTwoOptStarMoveOperator, IMoveMaker { 34 34 public ILookupParameter<PotvinTwoOptStarMove> TwoOptStarMoveParameter { … … 41 41 42 42 [StorableConstructor] 43 protected PotvinTwoOptStarMoveMaker( bool deserializing) : base(deserializing) { }43 protected PotvinTwoOptStarMoveMaker(StorableConstructorFlag _) : base(_) { } 44 44 45 45 public PotvinTwoOptStarMoveMaker() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveTabuCriterion.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. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Problems.VehicleRouting.Interfaces; 31 31 using HeuristicLab.Problems.VehicleRouting.Variants; … … 33 33 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 34 34 [Item("PotvinTwoOptStarTabuCriterion", @"Checks if a certain two opt star move is tabu.")] 35 [Storable Class]35 [StorableType("B00189B4-0B8A-444D-BE71-B55C7DCA0EC4")] 36 36 public class PotvinTwoOptStarMoveTabuCriterion : SingleSuccessorOperator, IPotvinTwoOptStarMoveOperator, ITabuChecker, IPotvinOperator, IVRPMoveOperator { 37 37 public override bool CanChangeName { … … 84 84 85 85 [StorableConstructor] 86 protected PotvinTwoOptStarMoveTabuCriterion( bool deserializing) : base(deserializing) { }86 protected PotvinTwoOptStarMoveTabuCriterion(StorableConstructorFlag _) : base(_) { } 87 87 protected PotvinTwoOptStarMoveTabuCriterion(PotvinTwoOptStarMoveTabuCriterion original, Cloner cloner) : base(original, cloner) { } 88 88 public PotvinTwoOptStarMoveTabuCriterion() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMoveTabuMaker.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. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Problems.VehicleRouting.Interfaces; 31 31 32 32 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 33 33 [Item("PotvinTwoOptStarMoveTabuMaker", "Declares a given two opt star move as tabu.")] 34 [Storable Class]34 [StorableType("4F4D7E5C-3C43-4795-AEB6-680740F04F14")] 35 35 public class PotvinTwoOptStarMoveTabuMaker : SingleSuccessorOperator, ITabuMaker, IPotvinTwoOptStarMoveOperator, IPotvinOperator, ISingleObjectiveOperator { 36 36 public LookupParameter<ItemList<IItem>> TabuListParameter { … … 75 75 76 76 [StorableConstructor] 77 protected PotvinTwoOptStarMoveTabuMaker( bool deserializing) : base(deserializing) { }77 protected PotvinTwoOptStarMoveTabuMaker(StorableConstructorFlag _) : base(_) { } 78 78 protected PotvinTwoOptStarMoveTabuMaker(PotvinTwoOptStarMoveTabuMaker original, Cloner cloner) : base(original, cloner) { } 79 79 public PotvinTwoOptStarMoveTabuMaker() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarMultiMoveGenerator.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. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.Problems.VehicleRouting.Encodings.General; 30 30 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 32 32 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 33 33 [Item("PotvinTwoOptStarMultiMoveGenerator", "Generates two opt star moves from a given VRP encoding.")] 34 [Storable Class]34 [StorableType("4CA15027-BFF3-4D23-9AAA-291BCC4C9BCC")] 35 35 public sealed class PotvinTwoOptStarMultiMoveGenerator : PotvinTwoOptStarMoveGenerator, IMultiMoveGenerator, IMultiVRPMoveGenerator { 36 36 public ILookupParameter<IRandom> RandomParameter { … … 47 47 48 48 [StorableConstructor] 49 private PotvinTwoOptStarMultiMoveGenerator( bool deserializing) : base(deserializing) { }49 private PotvinTwoOptStarMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 50 50 51 51 public PotvinTwoOptStarMultiMoveGenerator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/TwoOptStar/PotvinTwoOptStarSingleMoveGenerator.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.Optimization; 26 26 using HeuristicLab.Parameters; 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.Potvin { 31 31 [Item("PotvinTwoOptStarSingleMoveGenerator", "Generates a single two opt star move from a given VRP encoding.")] 32 [Storable Class]32 [StorableType("DEA1CE97-AE5F-4357-B51C-8802DFF69391")] 33 33 public sealed class PotvinTwoOptStarSingleMoveGenerator : PotvinTwoOptStarMoveGenerator, 34 34 ISingleMoveGenerator { … … 50 50 51 51 [StorableConstructor] 52 private PotvinTwoOptStarSingleMoveGenerator( bool deserializing) : base(deserializing) { }52 private PotvinTwoOptStarSingleMoveGenerator(StorableConstructorFlag _) : base(_) { } 53 53 54 54 public PotvinTwoOptStarSingleMoveGenerator()
Note: See TracChangeset
for help on using the changeset viewer.