Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/19 13:41:42 (5 years ago)
Author:
gkronber
Message:

#2520: merged changes from PersistenceOverhaul branch (r16451:16564) into trunk

Location:
trunk
Files:
15 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/HeuristicLab.Problems.Orienteering/3.3/Analyzers/BestOrienteeringSolutionAnalyzer.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Attic;
    3131
    3232namespace HeuristicLab.Problems.Orienteering {
    33   [StorableClass]
     33  [StorableType("6E07CAD7-20ED-4507-B2BB-B7393D9BBB95")]
    3434  public sealed class BestOrienteeringSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer {
    3535    public bool EnabledByDefault {
     
    7979
    8080    [StorableConstructor]
    81     private BestOrienteeringSolutionAnalyzer(bool deserializing) : base(deserializing) { }
     81    private BestOrienteeringSolutionAnalyzer(StorableConstructorFlag _) : base(_) { }
    8282    private BestOrienteeringSolutionAnalyzer(BestOrienteeringSolutionAnalyzer original, Cloner cloner) : base(original, cloner) { }
    8383    public override IDeepCloneable Clone(Cloner cloner) {
  • trunk/HeuristicLab.Problems.Orienteering/3.3/Creators/GreedyOrienteeringTourCreator.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2727using HeuristicLab.Encodings.IntegerVectorEncoding;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Attic;
    3030
    3131namespace HeuristicLab.Problems.Orienteering {
     
    3939  /// </summary>
    4040  [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   [StorableClass]
     41  [StorableType("FB68525D-DD53-4BE7-A6B4-EC54E6FD0E64")]
    4242  public sealed class GreedyOrienteeringTourCreator : IntegerVectorCreator, IOrienteeringSolutionCreator {
    4343    public override bool CanChangeName { get { return false; } }
     
    6565
    6666    [StorableConstructor]
    67     private GreedyOrienteeringTourCreator(bool deserializing)
    68       : base(deserializing) { }
     67    private GreedyOrienteeringTourCreator(StorableConstructorFlag _) : base(_) { }
    6968    private GreedyOrienteeringTourCreator(GreedyOrienteeringTourCreator original, Cloner cloner)
    7069      : base(original, cloner) { }
  • trunk/HeuristicLab.Problems.Orienteering/3.3/DistanceMatrix.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Data;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Attic;
    2828
    2929namespace HeuristicLab.Problems.Orienteering {
     
    3232  /// </summary>
    3333  [Item("DistanceMatrix", "Represents a distance matrix of a Orienteering Problem.")]
    34   [StorableClass]
     34  [StorableType("8318D250-3F2D-4A4D-9833-AB4EA453A3A4")]
    3535  public sealed class DistanceMatrix : DoubleMatrix {
    3636    [StorableConstructor]
    37     private DistanceMatrix(bool deserializing) : base(deserializing) { }
     37    private DistanceMatrix(StorableConstructorFlag _) : base(_) { }
    3838    private DistanceMatrix(DistanceMatrix original, Cloner cloner) {
    3939      throw new NotSupportedException("Distance matrices cannot be cloned.");
  • trunk/HeuristicLab.Problems.Orienteering/3.3/Evaluators/OrienteeringEvaluator.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2727using HeuristicLab.Operators;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Attic;
    3030
    3131namespace HeuristicLab.Problems.Orienteering {
    3232  [Item("OrienteeringEvaluator", "Operator to evaluate a solution to the orienteering problem.")]
    33   [StorableClass]
     33  [StorableType("ACAC24FD-9FBC-4722-BFB0-21BFEF02C2D1")]
    3434  public class OrienteeringEvaluator : InstrumentedOperator, IOrienteeringEvaluator {
    3535
     
    6262
    6363    [StorableConstructor]
    64     protected OrienteeringEvaluator(bool deserializing)
    65       : base(deserializing) {
     64    protected OrienteeringEvaluator(StorableConstructorFlag _) : base(_) {
    6665    }
    6766    protected OrienteeringEvaluator(OrienteeringEvaluator original, Cloner cloner)
  • trunk/HeuristicLab.Problems.Orienteering/3.3/HeuristicLab.Problems.Orienteering-3.3.csproj

    r15069 r16565  
    1010    <RootNamespace>HeuristicLab.Problems.Orienteering</RootNamespace>
    1111    <AssemblyName>HeuristicLab.Problems.Orienteering-3.3</AssemblyName>
    12     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
     12    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
    1313    <FileAlignment>512</FileAlignment>
    1414    <TargetFrameworkProfile />
     
    8383  </PropertyGroup>
    8484  <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>
    8591    <Reference Include="Microsoft.CSharp" />
    8692    <Reference Include="System" />
    8793    <Reference Include="System.Core" />
    8894    <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>
    8998  </ItemGroup>
    9099  <ItemGroup>
     
    105114  <ItemGroup>
    106115    <None Include="HeuristicLab.snk" />
     116    <None Include="packages.config" />
    107117    <None Include="Plugin.cs.frame" />
    108118    <None Include="Properties\AssemblyInfo.cs.frame" />
  • trunk/HeuristicLab.Problems.Orienteering/3.3/Improvers/OrienteeringLocalImprovementOperator.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Attic;
    3232
    3333namespace HeuristicLab.Problems.Orienteering {
     
    3838  /// </summary>
    3939  [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   [StorableClass]
     40  [StorableType("92FA69B3-F243-4D12-A67A-AA1D7EBCD302")]
    4141  public sealed class OrienteeringLocalImprovementOperator : SingleSuccessorOperator, ILocalImprovementOperator {
    4242
     
    8989
    9090    [StorableConstructor]
    91     private OrienteeringLocalImprovementOperator(bool deserializing) : base(deserializing) { }
     91    private OrienteeringLocalImprovementOperator(StorableConstructorFlag _) : base(_) { }
    9292    private OrienteeringLocalImprovementOperator(OrienteeringLocalImprovementOperator original, Cloner cloner)
    9393      : base(original, cloner) {
  • trunk/HeuristicLab.Problems.Orienteering/3.3/Interfaces/IOrienteeringEvaluator.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2424using HeuristicLab.Encodings.IntegerVectorEncoding;
    2525using HeuristicLab.Optimization;
     26using HEAL.Attic;
    2627
    2728namespace HeuristicLab.Problems.Orienteering {
     29  [StorableType("4F942163-D321-4935-BF2E-780193BE9FFE")]
    2830  public interface IOrienteeringEvaluator : ISingleObjectiveEvaluator {
    2931    ILookupParameter<IntegerVector> IntegerVectorParameter { get; }
  • trunk/HeuristicLab.Problems.Orienteering/3.3/Interfaces/IOrienteeringSolutionCreator.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2323using HeuristicLab.Data;
    2424using HeuristicLab.Encodings.IntegerVectorEncoding;
     25using HEAL.Attic;
    2526
    2627namespace HeuristicLab.Problems.Orienteering {
     28  [StorableType("7E0D4527-4D8C-4FBA-BB3A-26F20B6463ED")]
    2729  public interface IOrienteeringSolutionCreator : IIntegerVectorCreator {
    2830    ILookupParameter<DistanceMatrix> DistanceMatrixParameter { get; }
  • trunk/HeuristicLab.Problems.Orienteering/3.3/OrienteeringEvaluationResult.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2121
    2222using HeuristicLab.Data;
     23using HEAL.Attic;
    2324
    2425namespace HeuristicLab.Problems.Orienteering {
     26  [StorableType("A7F34447-A3C9-4FB5-B52F-5143434B4084")]
    2527  public class OrienteeringEvaluationResult {
     28    [Storable]
    2629    public DoubleValue Quality;
     30    [Storable]
    2731    public DoubleValue Penalty;
     32    [Storable]
    2833    public DoubleValue Distance;
     34
     35    [StorableConstructor]
     36    protected OrienteeringEvaluationResult(StorableConstructorFlag _) {
     37    }
     38
     39    public OrienteeringEvaluationResult() { }
    2940  }
    3041}
  • trunk/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3131using HeuristicLab.Optimization.Operators;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HEAL.Attic;
    3434using HeuristicLab.Problems.Instances;
    3535using HeuristicLab.Problems.Instances.Types;
     
    3838  [Item("Orienteering Problem (OP)", "Represents a single-objective Orienteering Problem.")]
    3939  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 115)]
    40   [StorableClass]
     40  [StorableType("0B8DB4A4-F183-4368-86C6-C51289B183D2")]
    4141  public sealed class OrienteeringProblem
    4242    : SingleObjectiveHeuristicOptimizationProblem<IOrienteeringEvaluator, IOrienteeringSolutionCreator>,
     
    113113
    114114    [StorableConstructor]
    115     private OrienteeringProblem(bool deserializing)
    116       : base(deserializing) {
     115    private OrienteeringProblem(StorableConstructorFlag _) : base(_) {
    117116    }
    118117    private OrienteeringProblem(OrienteeringProblem original, Cloner cloner)
  • trunk/HeuristicLab.Problems.Orienteering/3.3/OrienteeringSolution.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2626using HeuristicLab.Data;
    2727using HeuristicLab.Encodings.IntegerVectorEncoding;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Attic;
    2929
    3030namespace HeuristicLab.Problems.Orienteering {
    3131  [Item("OrienteeringSolution", "Represents a Orienteering solution which can be visualized in the GUI.")]
    32   [StorableClass]
     32  [StorableType("BC58ED08-B9A7-40F3-B8E0-A6B33AA993F4")]
    3333  public sealed class OrienteeringSolution : Item {
    3434    public static new Image StaticItemImage {
     
    142142
    143143    [StorableConstructor]
    144     private OrienteeringSolution(bool deserializing)
    145       : base(deserializing) { }
     144    private OrienteeringSolution(StorableConstructorFlag _) : base(_) { }
    146145    private OrienteeringSolution(OrienteeringSolution original, Cloner cloner)
    147146      : base(original, cloner) {
  • trunk/HeuristicLab.Problems.Orienteering/3.3/Plugin.cs.frame

    r15589 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • trunk/HeuristicLab.Problems.Orienteering/3.3/Properties/AssemblyInfo.cs.frame

    r15589 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • trunk/HeuristicLab.Problems.Orienteering/3.3/Shakers/OrienteeringShakingOperator.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Attic;
    3232
    3333namespace HeuristicLab.Problems.Orienteering {
     
    4848  /// </summary>
    4949  [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   [StorableClass]
     50  [StorableType("D6654BD1-63CD-4057-89C8-36D1EE6EA7DF")]
    5151  public sealed class OrienteeringShakingOperator : SingleSuccessorOperator, IMultiNeighborhoodShakingOperator, IStochasticOperator {
    5252
     
    8989
    9090    [StorableConstructor]
    91     private OrienteeringShakingOperator(bool deserializing) : base(deserializing) { }
     91    private OrienteeringShakingOperator(StorableConstructorFlag _) : base(_) { }
    9292    private OrienteeringShakingOperator(OrienteeringShakingOperator original, Cloner cloner)
    9393      : base(original, cloner) {
     
    241241    }
    242242
     243    [StorableType("8E380F4E-D9C2-4671-ABF8-A28E14B22BA2")]
    243244    private class SavingInfo {
    244245      public int Index;
Note: See TracChangeset for help on using the changeset viewer.