- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Analyzers/BestOrienteeringSolutionAnalyzer.cs
r16453 r16462 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Problems.Orienteering { 33 [Storable Class]33 [StorableType("6E07CAD7-20ED-4507-B2BB-B7393D9BBB95")] 34 34 public sealed class BestOrienteeringSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer { 35 35 public bool EnabledByDefault { … … 79 79 80 80 [StorableConstructor] 81 private BestOrienteeringSolutionAnalyzer( bool deserializing) : base(deserializing) { }81 private BestOrienteeringSolutionAnalyzer(StorableConstructorFlag _) : base(_) { } 82 82 private BestOrienteeringSolutionAnalyzer(BestOrienteeringSolutionAnalyzer original, Cloner cloner) : base(original, cloner) { } 83 83 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Creators/GreedyOrienteeringTourCreator.cs
r16453 r16462 27 27 using HeuristicLab.Encodings.IntegerVectorEncoding; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Problems.Orienteering { … … 39 39 /// </summary> 40 40 [Item("GreedyOrienteeringTourCreator", @"Implements the solution creation procedure described in Schilde M., Doerner K.F., Hartl R.F., Kiechle G. 2009. Metaheuristics for the bi-objective orienteering problem. Swarm Intelligence, Volume 3, Issue 3, pp 179-201.")] 41 [Storable Class]41 [StorableType("FB68525D-DD53-4BE7-A6B4-EC54E6FD0E64")] 42 42 public sealed class GreedyOrienteeringTourCreator : IntegerVectorCreator, IOrienteeringSolutionCreator { 43 43 public override bool CanChangeName { get { return false; } } … … 65 65 66 66 [StorableConstructor] 67 private GreedyOrienteeringTourCreator(bool deserializing) 68 : base(deserializing) { } 67 private GreedyOrienteeringTourCreator(StorableConstructorFlag _) : base(_) { } 69 68 private GreedyOrienteeringTourCreator(GreedyOrienteeringTourCreator original, Cloner cloner) 70 69 : base(original, cloner) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/DistanceMatrix.cs
r16453 r16462 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Problems.Orienteering { … … 32 32 /// </summary> 33 33 [Item("DistanceMatrix", "Represents a distance matrix of a Orienteering Problem.")] 34 [Storable Class]34 [StorableType("8318D250-3F2D-4A4D-9833-AB4EA453A3A4")] 35 35 public sealed class DistanceMatrix : DoubleMatrix { 36 36 [StorableConstructor] 37 private DistanceMatrix( bool deserializing) : base(deserializing) { }37 private DistanceMatrix(StorableConstructorFlag _) : base(_) { } 38 38 private DistanceMatrix(DistanceMatrix original, Cloner cloner) { 39 39 throw new NotSupportedException("Distance matrices cannot be cloned."); -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Evaluators/OrienteeringEvaluator.cs
r16453 r16462 27 27 using HeuristicLab.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Problems.Orienteering { 32 32 [Item("OrienteeringEvaluator", "Operator to evaluate a solution to the orienteering problem.")] 33 [Storable Class]33 [StorableType("ACAC24FD-9FBC-4722-BFB0-21BFEF02C2D1")] 34 34 public class OrienteeringEvaluator : InstrumentedOperator, IOrienteeringEvaluator { 35 35 … … 62 62 63 63 [StorableConstructor] 64 protected OrienteeringEvaluator(bool deserializing) 65 : base(deserializing) { 64 protected OrienteeringEvaluator(StorableConstructorFlag _) : base(_) { 66 65 } 67 66 protected OrienteeringEvaluator(OrienteeringEvaluator original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/HeuristicLab.Problems.Orienteering-3.3.csproj
r16454 r16462 86 86 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 87 87 </Reference> 88 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">88 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 89 89 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 90 90 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Improvers/OrienteeringLocalImprovementOperator.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 33 33 namespace HeuristicLab.Problems.Orienteering { … … 38 38 /// </summary> 39 39 [Item("OrienteeringLocalImprovementOperator", @"Implements the iterative improvement procedure described in Schilde M., Doerner K.F., Hartl R.F., Kiechle G. 2009. Metaheuristics for the bi-objective orienteering problem. Swarm Intelligence, Volume 3, Issue 3, pp 179-201.")] 40 [Storable Class]40 [StorableType("92FA69B3-F243-4D12-A67A-AA1D7EBCD302")] 41 41 public sealed class OrienteeringLocalImprovementOperator : SingleSuccessorOperator, ILocalImprovementOperator { 42 42 … … 89 89 90 90 [StorableConstructor] 91 private OrienteeringLocalImprovementOperator( bool deserializing) : base(deserializing) { }91 private OrienteeringLocalImprovementOperator(StorableConstructorFlag _) : base(_) { } 92 92 private OrienteeringLocalImprovementOperator(OrienteeringLocalImprovementOperator original, Cloner cloner) 93 93 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.cs
r16453 r16462 31 31 using HeuristicLab.Optimization.Operators; 32 32 using HeuristicLab.Parameters; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;33 using HEAL.Fossil; 34 34 using HeuristicLab.Problems.Instances; 35 35 using HeuristicLab.Problems.Instances.Types; … … 38 38 [Item("Orienteering Problem (OP)", "Represents a single-objective Orienteering Problem.")] 39 39 [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 115)] 40 [Storable Class]40 [StorableType("0B8DB4A4-F183-4368-86C6-C51289B183D2")] 41 41 public sealed class OrienteeringProblem 42 42 : SingleObjectiveHeuristicOptimizationProblem<IOrienteeringEvaluator, IOrienteeringSolutionCreator>, … … 113 113 114 114 [StorableConstructor] 115 private OrienteeringProblem(bool deserializing) 116 : base(deserializing) { 115 private OrienteeringProblem(StorableConstructorFlag _) : base(_) { 117 116 } 118 117 private OrienteeringProblem(OrienteeringProblem original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/OrienteeringSolution.cs
r16453 r16462 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Encodings.IntegerVectorEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.Orienteering { 31 31 [Item("OrienteeringSolution", "Represents a Orienteering solution which can be visualized in the GUI.")] 32 [Storable Class]32 [StorableType("BC58ED08-B9A7-40F3-B8E0-A6B33AA993F4")] 33 33 public sealed class OrienteeringSolution : Item { 34 34 public static new Image StaticItemImage { … … 142 142 143 143 [StorableConstructor] 144 private OrienteeringSolution(bool deserializing) 145 : base(deserializing) { } 144 private OrienteeringSolution(StorableConstructorFlag _) : base(_) { } 146 145 private OrienteeringSolution(OrienteeringSolution original, Cloner cloner) 147 146 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Shakers/OrienteeringShakingOperator.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 33 33 namespace HeuristicLab.Problems.Orienteering { … … 48 48 /// </summary> 49 49 [Item("OrienteeringShakingOperator", @"Implements the shaking procedure described in Schilde M., Doerner K.F., Hartl R.F., Kiechle G. 2009. Metaheuristics for the bi-objective orienteering problem. Swarm Intelligence, Volume 3, Issue 3, pp 179-201.")] 50 [Storable Class]50 [StorableType("D6654BD1-63CD-4057-89C8-36D1EE6EA7DF")] 51 51 public sealed class OrienteeringShakingOperator : SingleSuccessorOperator, IMultiNeighborhoodShakingOperator, IStochasticOperator { 52 52 … … 89 89 90 90 [StorableConstructor] 91 private OrienteeringShakingOperator( bool deserializing) : base(deserializing) { }91 private OrienteeringShakingOperator(StorableConstructorFlag _) : base(_) { } 92 92 private OrienteeringShakingOperator(OrienteeringShakingOperator original, Cloner cloner) 93 93 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.