Changeset 12694 for branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment
- Timestamp:
- 07/09/15 13:07:30 (9 years ago)
- Location:
- branches/HeuristicLab.Problems.Orienteering
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering
- Property svn:mergeinfo changed
-
Property
svn:global-ignores
set to
*.nuget
packages
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/Analyzers/BestLAPSolutionAnalyzer.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 33 33 [Item("BestLAPSolutionAnalyzer", "Analyzes the best solution found.")] 34 34 [StorableClass] 35 public class BestLAPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer {35 public class BestLAPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator { 36 36 public bool EnabledByDefault { get { return true; } } 37 37 … … 101 101 bool max = MaximizationParameter.ActualValue.Value; 102 102 DoubleValue bestKnownQuality = BestKnownQualityParameter.ActualValue; 103 103 104 104 var sorted = qualities.Select((x, index) => new { index, x.Value }).OrderBy(x => x.Value).ToArray(); 105 105 if (max) sorted = sorted.Reverse().ToArray(); -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/HeuristicLab.Problems.LinearAssignment-3.3.csproj
r8600 r12694 11 11 <RootNamespace>HeuristicLab.Problems.LinearAssignment</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Problems.LinearAssignment-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 <TargetFrameworkProfile /> 15 16 </PropertyGroup> 16 17 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 22 23 <ErrorReport>prompt</ErrorReport> 23 24 <WarningLevel>4</WarningLevel> 25 <Prefer32Bit>false</Prefer32Bit> 24 26 </PropertyGroup> 25 27 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> … … 30 32 <ErrorReport>prompt</ErrorReport> 31 33 <WarningLevel>4</WarningLevel> 34 <Prefer32Bit>false</Prefer32Bit> 32 35 </PropertyGroup> 33 36 <PropertyGroup> … … 52 55 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> 53 56 <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> 57 <Prefer32Bit>false</Prefer32Bit> 54 58 </PropertyGroup> 55 59 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> … … 67 71 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> 68 72 <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> 73 <Prefer32Bit>false</Prefer32Bit> 69 74 </PropertyGroup> 70 75 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> … … 83 88 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> 84 89 <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> 90 <Prefer32Bit>false</Prefer32Bit> 85 91 </PropertyGroup> 86 92 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> … … 100 106 <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> 101 107 <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> 108 <Prefer32Bit>false</Prefer32Bit> 102 109 </PropertyGroup> 103 110 <ItemGroup> … … 186 193 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 187 194 <PropertyGroup> 188 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)195 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 189 196 set ProjectDir=$(ProjectDir) 190 197 set SolutionDir=$(SolutionDir) … … 192 199 193 200 call PreBuildEvent.cmd</PreBuildEvent> 194 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">201 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 195 202 export ProjectDir=$(ProjectDir) 196 203 export SolutionDir=$(SolutionDir) -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/HungarianAlgorithm.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 35 35 /// </summary> 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 [Creatable( "Algorithms")]37 [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 170)] 38 38 [StorableClass] 39 39 public sealed class HungarianAlgorithm : EngineAlgorithm, IStorableContent { -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/Interfaces/ILAPEvaluator.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/LAPAssignment.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/LAPEvaluator.cs
r11185 r12694 2 2 #region License Information 3 3 /* HeuristicLab 4 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)4 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 5 5 * 6 6 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/LinearAssignmentProblem.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 34 34 namespace HeuristicLab.Problems.LinearAssignment { 35 35 [Item("Linear Assignment Problem", "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).")] 36 [Creatable( "Problems")]36 [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 130)] 37 37 [StorableClass] 38 38 public sealed class LinearAssignmentProblem : SingleObjectiveHeuristicOptimizationProblem<ILAPEvaluator, IPermutationCreator>, IStorableContent { -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/LinearAssignmentProblemSolver.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Encodings.PermutationEncoding; 26 26 using HeuristicLab.Operators; 27 using HeuristicLab.Optimization; 27 28 using HeuristicLab.Parameters; 28 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 31 32 [Item("LinearAssignmentProblemSolver", "Uses the hungarian algorithm to solve linear assignment problems.")] 32 33 [StorableClass] 33 public sealed class LinearAssignmentProblemSolver : SingleSuccessorOperator {34 public sealed class LinearAssignmentProblemSolver : SingleSuccessorOperator, ISingleObjectiveOperator { 34 35 private const int UNASSIGNED = -1; 35 36 -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/Plugin.cs.frame
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 24 24 namespace HeuristicLab.Problems.LinearAssignment { 25 [Plugin("HeuristicLab.Problems.LinearAssignment", "3.3.1 0.$WCREV$")]25 [Plugin("HeuristicLab.Problems.LinearAssignment", "3.3.11.$WCREV$")] 26 26 [PluginFile("HeuristicLab.Problems.LinearAssignment-3.3.dll", PluginFileType.Assembly)] 27 27 [PluginDependency("HeuristicLab.Analysis", "3.3")] -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LinearAssignment/3.3/Properties/AssemblyInfo.cs.frame
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 32 32 [assembly: AssemblyCompany("HEAL")] 33 33 [assembly: AssemblyProduct("HeuristicLab")] 34 [assembly: AssemblyCopyright("(c) 2002-201 4HEAL")]34 [assembly: AssemblyCopyright("(c) 2002-2015 HEAL")] 35 35 [assembly: AssemblyTrademark("")] 36 36 [assembly: AssemblyCulture("")] … … 55 55 // [assembly: AssemblyVersion("1.0.*")] 56 56 [assembly: AssemblyVersion("3.3.0.0")] 57 [assembly: AssemblyFileVersion("3.3.1 0.$WCREV$")]57 [assembly: AssemblyFileVersion("3.3.11.$WCREV$")]
Note: See TracChangeset
for help on using the changeset viewer.