- Timestamp:
- 01/11/12 17:47:04 (13 years ago)
- Location:
- branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3
- Files:
-
- 15 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Analyzers/BestGQAPSolutionAnalyzer.cs
r7311 r7319 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Evaluators/GQAPEvaluator.cs
r7311 r7319 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/GQAPAssignment.cs
r7311 r7319 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/GeneralizedQuadraticAssignmentProblem.cs
r7311 r7319 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 146 146 Capacities[0] = 4; Capacities[1] = 1; Capacities[2] = 4; 147 147 148 SolutionCreator.IntegerVectorParameter.ActualName = "Assignment"; 148 149 Parameterize(); 149 150 … … 200 201 private void InitializeOperators() { 201 202 Operators.AddRange(ApplicationManager.Manager.GetInstances<IIntegerVectorOperator>()); 203 Operators.AddRange(ApplicationManager.Manager.GetInstances<IGQAPOperator>()); 202 204 Operators.RemoveAll(x => x is ISingleObjectiveMoveEvaluator); 203 205 Operators.Add(new BestGQAPSolutionAnalyzer()); … … 212 214 Evaluator.DemandsParameter.ActualName = DemandsParameter.Name; 213 215 Evaluator.CapacitiesParameter.ActualName = CapacitiesParameter.Name; 214 Evaluator.AssignmentParameter.ActualName = "Assignment";216 Evaluator.AssignmentParameter.ActualName = SolutionCreator.IntegerVectorParameter.ActualName; 215 217 216 218 SolutionCreator.LengthParameter.Value = new IntValue(Demands.Length); 217 219 SolutionCreator.MinimumParameter.Value = new IntValue(0); 218 220 SolutionCreator.MaximumParameter.Value = new IntValue(Capacities.Length); 219 SolutionCreator.IntegerVectorParameter.ActualName = "Assignment"; 220 221 foreach (IIntegerVectorCrossover op in Operators.OfType<IIntegerVectorCrossover>()) { 221 222 foreach (var op in Operators.OfType<IIntegerVectorCrossover>()) { 222 223 op.ParentsParameter.ActualName = SolutionCreator.IntegerVectorParameter.ActualName; 223 224 op.ChildParameter.ActualName = SolutionCreator.IntegerVectorParameter.ActualName; 224 225 } 225 foreach ( IIntegerVectorManipulator op in Operators.OfType<IIntegerVectorManipulator>()) {226 foreach (var op in Operators.OfType<IIntegerVectorManipulator>()) { 226 227 op.IntegerVectorParameter.ActualName = SolutionCreator.IntegerVectorParameter.ActualName; 228 } 229 foreach (var op in Operators.OfType<IGQAPCrossover>()) { 230 op.ParentsParameter.ActualName = SolutionCreator.IntegerVectorParameter.ActualName; 231 op.ChildParameter.ActualName = SolutionCreator.IntegerVectorParameter.ActualName; 232 } 233 foreach (var op in Operators.OfType<IGQAPManipulator>()) { 234 op.IntegerVectorParameter.ActualName = SolutionCreator.IntegerVectorParameter.ActualName; 235 } 236 foreach (var op in Operators.OfType<ILocationAwareGQAPOperator>()) { 237 op.CapacitiesParameter.ActualName = CapacitiesParameter.Name; 238 } 239 foreach (var op in Operators.OfType<IEquipmentAwareGQAPManipulator>()) { 240 op.DemandsParameter.ActualName = DemandsParameter.Name; 227 241 } 228 242 -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/HeuristicLab.Problems.GeneralizedQuadraticAssignment-3.3.csproj
r6956 r7319 36 36 <PropertyGroup> 37 37 <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile> 38 </PropertyGroup>39 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">40 <DebugSymbols>true</DebugSymbols>41 <OutputPath>bin\x86\Debug\</OutputPath>42 <DefineConstants>DEBUG;TRACE</DefineConstants>43 <DebugType>full</DebugType>44 <PlatformTarget>x86</PlatformTarget>45 <CodeAnalysisLogFile>bin\Debug\Plugin.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>46 <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>47 <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>48 <ErrorReport>prompt</ErrorReport>49 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>50 <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>51 <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>52 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>53 <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>54 </PropertyGroup>55 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">56 <OutputPath>bin\x86\Release\</OutputPath>57 <DefineConstants>TRACE</DefineConstants>58 <Optimize>true</Optimize>59 <DebugType>pdbonly</DebugType>60 <PlatformTarget>x86</PlatformTarget>61 <CodeAnalysisLogFile>bin\Release\Plugin.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>62 <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>63 <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>64 <ErrorReport>prompt</ErrorReport>65 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>66 <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>67 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>68 <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>69 </PropertyGroup>70 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">71 <DebugSymbols>true</DebugSymbols>72 <OutputPath>bin\x64\Debug\</OutputPath>73 <DefineConstants>DEBUG;TRACE</DefineConstants>74 <DebugType>full</DebugType>75 <PlatformTarget>x64</PlatformTarget>76 <CodeAnalysisLogFile>bin\Debug\Plugin.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>77 <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>78 <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>79 <ErrorReport>prompt</ErrorReport>80 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>81 <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>82 <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>83 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>84 <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>85 </PropertyGroup>86 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">87 <OutputPath>bin\x64\Release\</OutputPath>88 <DefineConstants>TRACE</DefineConstants>89 <Optimize>true</Optimize>90 <DebugType>pdbonly</DebugType>91 <PlatformTarget>x64</PlatformTarget>92 <CodeAnalysisLogFile>bin\Release\Plugin.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>93 <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>94 <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>95 <ErrorReport>prompt</ErrorReport>96 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>97 <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>98 <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>99 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>100 <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>101 <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>102 38 </PropertyGroup> 103 39 <ItemGroup> … … 153 89 <ItemGroup> 154 90 <Compile Include="Analyzers\BestGQAPSolutionAnalyzer.cs" /> 91 <Compile Include="ExtensionMethods.cs" /> 155 92 <Compile Include="GQAPAssignment.cs" /> 156 93 <None Include="Plugin.cs.frame" /> 157 94 <Compile Include="Evaluators\GQAPEvaluator.cs" /> 158 95 <Compile Include="GeneralizedQuadraticAssignmentProblem.cs" /> 96 <Compile Include="Interfaces\IEquipmentAwareGQAPOperator.cs" /> 97 <Compile Include="Interfaces\IGQAPCrossover.cs" /> 159 98 <Compile Include="Interfaces\IGQAPEvaluator.cs" /> 99 <Compile Include="Interfaces\IGQAPManipulator.cs" /> 100 <Compile Include="Interfaces\IGQAPOperator.cs" /> 101 <Compile Include="Interfaces\ILocationAwareGQAPOperator.cs" /> 102 <Compile Include="Operators\DemandEquivalentSwapEquipmentManipluator.cs" /> 103 <Compile Include="Operators\GQAPCrossover.cs" /> 104 <Compile Include="Operators\DiscreteLocationCrossover.cs" /> 105 <Compile Include="Operators\RelocateEquipmentManipluator.cs" /> 106 <Compile Include="Operators\GQAPManipulator.cs" /> 107 <Compile Include="Operators\SwapEquipmentManipluator.cs" /> 108 <Compile Include="Operators\SwapLocationManipulator.cs" /> 160 109 <Compile Include="Plugin.cs" /> 161 110 <Compile Include="Properties\AssemblyInfo.cs" /> 162 <None Include="Properties\AssemblyInfo. frame" />111 <None Include="Properties\AssemblyInfo.cs.frame" /> 163 112 </ItemGroup> 164 113 <ItemGroup> … … 172 121 set Outdir=$(Outdir) 173 122 174 call PreBuildEvent.cmd 175 SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\Plugin.cs.frame" "%25ProjectDir%25\Plugin.cs"</PreBuildEvent> 123 call PreBuildEvent.cmd</PreBuildEvent> 176 124 </PropertyGroup> 177 125 <PropertyGroup> -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Interfaces/IGQAPEvaluator.cs
r6956 r7319 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Plugin.cs.frame
r6956 r7319 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Properties/AssemblyInfo.cs.frame
r6956 r7319 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 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.