Changeset 16565 for trunk/HeuristicLab.Problems.LinearAssignment
- Timestamp:
- 01/28/19 13:41:42 (6 years ago)
- Location:
- trunk
- Files:
-
- 11 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.LinearAssignment/3.3/Analyzers/BestLAPSolutionAnalyzer.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.LinearAssignment { 33 33 [Item("BestLAPSolutionAnalyzer", "Analyzes the best solution found.")] 34 [Storable Class]34 [StorableType("7C4B1DB3-E351-4C6C-899B-801303DFCE61")] 35 35 public class BestLAPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator { 36 36 public bool EnabledByDefault { get { return true; } } … … 71 71 72 72 [StorableConstructor] 73 protected BestLAPSolutionAnalyzer( bool deserializing) : base(deserializing) { }73 protected BestLAPSolutionAnalyzer(StorableConstructorFlag _) : base(_) { } 74 74 protected BestLAPSolutionAnalyzer(BestLAPSolutionAnalyzer original, Cloner cloner) : base(original, cloner) { } 75 75 public BestLAPSolutionAnalyzer() -
trunk/HeuristicLab.Problems.LinearAssignment/3.3/HeuristicLab.Problems.LinearAssignment-3.3.csproj
r15069 r16565 11 11 <RootNamespace>HeuristicLab.Problems.LinearAssignment</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Problems.LinearAssignment-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 <TargetFrameworkProfile /> … … 109 109 </PropertyGroup> 110 110 <ItemGroup> 111 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 112 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 113 </Reference> 114 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 115 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre01\lib\netstandard2.0\HEAL.Attic.dll</HintPath> 116 </Reference> 111 117 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 112 118 <HintPath>..\..\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> … … 117 123 <Reference Include="System.Data" /> 118 124 <Reference Include="System.Drawing" /> 125 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 126 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 127 </Reference> 119 128 </ItemGroup> 120 129 <ItemGroup> 121 130 <Compile Include="HungarianAlgorithm.cs" /> 122 131 <Compile Include="LAPAssignment.cs" /> 132 <None Include="packages.config" /> 123 133 <None Include="Plugin.cs.frame" /> 124 134 <Compile Include="Analyzers\BestLAPSolutionAnalyzer.cs" /> -
trunk/HeuristicLab.Problems.LinearAssignment/3.3/HungarianAlgorithm.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.LinearAssignment { … … 36 36 [Item("Hungarian Algorithm", "The Hungarian algorithm can be used to solve the linear assignment problem in O(n^3). It is also known as the Kuhn–Munkres algorithm or Munkres assignment algorithm.")] 37 37 [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 170)] 38 [Storable Class]38 [StorableType("2A2C1C1B-E0C3-4757-873B-C3F7C6D11A01")] 39 39 public sealed class HungarianAlgorithm : EngineAlgorithm, IStorableContent { 40 40 public string Filename { get; set; } … … 67 67 68 68 [StorableConstructor] 69 private HungarianAlgorithm( bool deserializing) : base(deserializing) { }69 private HungarianAlgorithm(StorableConstructorFlag _) : base(_) { } 70 70 private HungarianAlgorithm(HungarianAlgorithm original, Cloner cloner) 71 71 : base(original, cloner) { -
trunk/HeuristicLab.Problems.LinearAssignment/3.3/Interfaces/ILAPEvaluator.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.PermutationEncoding; 25 25 using HeuristicLab.Optimization; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Problems.LinearAssignment { 29 [StorableType("4B73438E-511A-4AF0-B7F1-B357F6092604")] 28 30 public interface ILAPEvaluator : ISingleObjectiveEvaluator { 29 31 ILookupParameter<DoubleMatrix> CostsParameter { get; } -
trunk/HeuristicLab.Problems.LinearAssignment/3.3/LAPAssignment.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.Data; 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Problems.LinearAssignment { 30 30 [Item("LAP Assignment", "Represents a solution to the LAP.")] 31 [Storable Class]31 [StorableType("8F255E15-291B-44D5-BF8B-AC79264274C0")] 32 32 public sealed class LAPAssignment : Item, INotifyPropertyChanged, IStorableContent { 33 33 public string Filename { get; set; } … … 89 89 90 90 [StorableConstructor] 91 private LAPAssignment( bool deserializing) : base(deserializing) { }91 private LAPAssignment(StorableConstructorFlag _) : base(_) { } 92 92 private LAPAssignment(LAPAssignment original, Cloner cloner) 93 93 : base(original, cloner) { -
trunk/HeuristicLab.Problems.LinearAssignment/3.3/LAPEvaluator.cs
r15583 r16565 2 2 #region License Information 3 3 /* HeuristicLab 4 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 5 5 * 6 6 * This file is part of HeuristicLab. … … 22 22 23 23 using HeuristicLab.Operators; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Common; … … 31 31 namespace HeuristicLab.Problems.LinearAssignment { 32 32 [Item("LAPEvaluator", "Evaluates a solution to the linear assignment problem.")] 33 [Storable Class]33 [StorableType("DB86EA88-EE30-4E57-8447-D24B7B6ACB8A")] 34 34 public class LAPEvaluator : InstrumentedOperator, ILAPEvaluator { 35 35 … … 45 45 46 46 [StorableConstructor] 47 protected LAPEvaluator( bool deserializing) : base(deserializing) { }47 protected LAPEvaluator(StorableConstructorFlag _) : base(_) { } 48 48 protected LAPEvaluator(LAPEvaluator original, Cloner cloner) : base(original, cloner) { } 49 49 public LAPEvaluator() -
trunk/HeuristicLab.Problems.LinearAssignment/3.3/LinearAssignmentProblem.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.PluginInfrastructure; 35 35 … … 37 37 [Item("Linear Assignment Problem (LAP)", "In the linear assignment problem (LAP) an assignment of workers to jobs has to be found such that each worker is assigned to exactly one job, each job is assigned to exactly one worker and the sum of the resulting costs is minimal (or maximal).")] 38 38 [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 130)] 39 [Storable Class]39 [StorableType("7766E004-A93D-4CA6-8012-AE5E8F4C4D85")] 40 40 public sealed class LinearAssignmentProblem : SingleObjectiveHeuristicOptimizationProblem<ILAPEvaluator, IPermutationCreator>, IStorableContent { 41 41 public static readonly string CostsDescription = "The cost matrix that describes the assignment of rows to columns."; … … 94 94 95 95 [StorableConstructor] 96 private LinearAssignmentProblem( bool deserializing) : base(deserializing) { }96 private LinearAssignmentProblem(StorableConstructorFlag _) : base(_) { } 97 97 private LinearAssignmentProblem(LinearAssignmentProblem original, Cloner cloner) 98 98 : base(original, cloner) { -
trunk/HeuristicLab.Problems.LinearAssignment/3.3/LinearAssignmentProblemSolver.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.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Problems.LinearAssignment { 32 32 [Item("LinearAssignmentProblemSolver", "Uses the hungarian algorithm to solve linear assignment problems.")] 33 [Storable Class]33 [StorableType("ABF202CC-44E4-4208-9EBF-1A104806358F")] 34 34 public sealed class LinearAssignmentProblemSolver : SingleSuccessorOperator, ISingleObjectiveOperator { 35 35 private const int UNASSIGNED = -1; … … 49 49 50 50 [StorableConstructor] 51 private LinearAssignmentProblemSolver( bool deserializing) : base(deserializing) { }51 private LinearAssignmentProblemSolver(StorableConstructorFlag _) : base(_) { } 52 52 private LinearAssignmentProblemSolver(LinearAssignmentProblemSolver original, Cloner cloner) : base(original, cloner) { } 53 53 public LinearAssignmentProblemSolver() -
trunk/HeuristicLab.Problems.LinearAssignment/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.LinearAssignment/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.
Note: See TracChangeset
for help on using the changeset viewer.