Changeset 16565 for trunk/HeuristicLab.Problems.Orienteering
- Timestamp:
- 01/28/19 13:41:42 (6 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration (added) merged: 16451-16454,16462,16465-16468,16470-16472,16474,16476-16477,16479-16487,16529-16530,16539,16551-16555,16558-16559,16562-16564
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Problems.Orienteering/3.3/Analyzers/BestOrienteeringSolutionAnalyzer.cs
r15583 r16565 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. … … 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 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) { -
trunk/HeuristicLab.Problems.Orienteering/3.3/Creators/GreedyOrienteeringTourCreator.cs
r15583 r16565 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.Encodings.IntegerVectorEncoding; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 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) { } -
trunk/HeuristicLab.Problems.Orienteering/3.3/DistanceMatrix.cs
r15583 r16565 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.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 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."); -
trunk/HeuristicLab.Problems.Orienteering/3.3/Evaluators/OrienteeringEvaluator.cs
r15583 r16565 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.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 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) -
trunk/HeuristicLab.Problems.Orienteering/3.3/HeuristicLab.Problems.Orienteering-3.3.csproj
r15069 r16565 10 10 <RootNamespace>HeuristicLab.Problems.Orienteering</RootNamespace> 11 11 <AssemblyName>HeuristicLab.Problems.Orienteering-3.3</AssemblyName> 12 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>12 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 13 13 <FileAlignment>512</FileAlignment> 14 14 <TargetFrameworkProfile /> … … 83 83 </PropertyGroup> 84 84 <ItemGroup> 85 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 86 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 87 </Reference> 88 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 89 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre01\lib\netstandard2.0\HEAL.Attic.dll</HintPath> 90 </Reference> 85 91 <Reference Include="Microsoft.CSharp" /> 86 92 <Reference Include="System" /> 87 93 <Reference Include="System.Core" /> 88 94 <Reference Include="System.Drawing" /> 95 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 96 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 97 </Reference> 89 98 </ItemGroup> 90 99 <ItemGroup> … … 105 114 <ItemGroup> 106 115 <None Include="HeuristicLab.snk" /> 116 <None Include="packages.config" /> 107 117 <None Include="Plugin.cs.frame" /> 108 118 <None Include="Properties\AssemblyInfo.cs.frame" /> -
trunk/HeuristicLab.Problems.Orienteering/3.3/Improvers/OrienteeringLocalImprovementOperator.cs
r15583 r16565 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. … … 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 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) { -
trunk/HeuristicLab.Problems.Orienteering/3.3/Interfaces/IOrienteeringEvaluator.cs
r15583 r16565 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.IntegerVectorEncoding; 25 25 using HeuristicLab.Optimization; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Problems.Orienteering { 29 [StorableType("4F942163-D321-4935-BF2E-780193BE9FFE")] 28 30 public interface IOrienteeringEvaluator : ISingleObjectiveEvaluator { 29 31 ILookupParameter<IntegerVector> IntegerVectorParameter { get; } -
trunk/HeuristicLab.Problems.Orienteering/3.3/Interfaces/IOrienteeringSolutionCreator.cs
r15583 r16565 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.Data; 24 24 using HeuristicLab.Encodings.IntegerVectorEncoding; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Problems.Orienteering { 28 [StorableType("7E0D4527-4D8C-4FBA-BB3A-26F20B6463ED")] 27 29 public interface IOrienteeringSolutionCreator : IIntegerVectorCreator { 28 30 ILookupParameter<DistanceMatrix> DistanceMatrixParameter { get; } -
trunk/HeuristicLab.Problems.Orienteering/3.3/OrienteeringEvaluationResult.cs
r15583 r16565 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.Data; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Problems.Orienteering { 26 [StorableType("A7F34447-A3C9-4FB5-B52F-5143434B4084")] 25 27 public class OrienteeringEvaluationResult { 28 [Storable] 26 29 public DoubleValue Quality; 30 [Storable] 27 31 public DoubleValue Penalty; 32 [Storable] 28 33 public DoubleValue Distance; 34 35 [StorableConstructor] 36 protected OrienteeringEvaluationResult(StorableConstructorFlag _) { 37 } 38 39 public OrienteeringEvaluationResult() { } 29 40 } 30 41 } -
trunk/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.cs
r15583 r16565 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. … … 31 31 using HeuristicLab.Optimization.Operators; 32 32 using HeuristicLab.Parameters; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;33 using HEAL.Attic; 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) -
trunk/HeuristicLab.Problems.Orienteering/3.3/OrienteeringSolution.cs
r15583 r16565 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.Data; 27 27 using HeuristicLab.Encodings.IntegerVectorEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 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) { -
trunk/HeuristicLab.Problems.Orienteering/3.3/Plugin.cs.frame
r15589 r16565 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. -
trunk/HeuristicLab.Problems.Orienteering/3.3/Properties/AssemblyInfo.cs.frame
r15589 r16565 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. -
trunk/HeuristicLab.Problems.Orienteering/3.3/Shakers/OrienteeringShakingOperator.cs
r15583 r16565 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. … … 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 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) { … … 241 241 } 242 242 243 [StorableType("8E380F4E-D9C2-4671-ABF8-A28E14B22BA2")] 243 244 private class SavingInfo { 244 245 public int Index;
Note: See TracChangeset
for help on using the changeset viewer.