Changeset 5723 for branches/QAP/HeuristicLab.Optimization/3.3
- Timestamp:
- 03/16/11 22:32:33 (14 years ago)
- Location:
- branches/QAP
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/QAP
- Property svn:ignore
-
old new 1 1 *.suo 2 2 TestResults 3 *.testsettings
-
- Property svn:ignore
-
branches/QAP/HeuristicLab.Optimization/3.3/HeuristicLab.Optimization-3.3.csproj
r5560 r5723 96 96 </PropertyGroup> 97 97 <ItemGroup> 98 <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 99 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Collections-3.3.dll</HintPath> 100 </Reference> 101 <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 102 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath> 103 </Reference> 104 <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 105 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Common.Resources-3.3.dll</HintPath> 106 </Reference> 107 <Reference Include="HeuristicLab.Core-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 108 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Core-3.3.dll</HintPath> 109 </Reference> 110 <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 111 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Data-3.3.dll</HintPath> 112 </Reference> 113 <Reference Include="HeuristicLab.Operators-3.3"> 114 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators-3.3.dll</HintPath> 115 </Reference> 116 <Reference Include="HeuristicLab.Parameters-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 117 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters-3.3.dll</HintPath> 118 </Reference> 119 <Reference Include="HeuristicLab.Persistence-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 120 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence-3.3.dll</HintPath> 121 </Reference> 122 <Reference Include="HeuristicLab.PluginInfrastructure-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 123 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 124 </Reference> 98 125 <Reference Include="System" /> 99 126 <Reference Include="System.Core"> … … 187 214 </ItemGroup> 188 215 <ItemGroup> 189 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">190 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>191 <Name>HeuristicLab.Collections-3.3</Name>192 </ProjectReference>193 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">194 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>195 <Name>HeuristicLab.Common.Resources-3.3</Name>196 </ProjectReference>197 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">198 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>199 <Name>HeuristicLab.Common-3.3</Name>200 </ProjectReference>201 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">202 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>203 <Name>HeuristicLab.Core-3.3</Name>204 </ProjectReference>205 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">206 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>207 <Name>HeuristicLab.Data-3.3</Name>208 </ProjectReference>209 <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">210 <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>211 <Name>HeuristicLab.Parameters-3.3</Name>212 </ProjectReference>213 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">214 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>215 <Name>HeuristicLab.Persistence-3.3</Name>216 </ProjectReference>217 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">218 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>219 <Name>HeuristicLab.PluginInfrastructure-3.3</Name>220 </ProjectReference>221 </ItemGroup>222 <ItemGroup>223 216 <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> 224 217 <Visible>False</Visible> -
branches/QAP/HeuristicLab.Optimization/3.3/SingleObjectiveProblem.cs
r5445 r5723 41 41 : base() { 42 42 Parameters.Add(new ValueParameter<BoolValue>(MaximizationParameterName, "Set to false if the problem should be minimized.")); 43 Parameters.Add(new ValueParameter<DoubleValue>(BestKnownQualityParameterName, "The quality of the best known solution of this problem."));43 Parameters.Add(new OptionalValueParameter<DoubleValue>(BestKnownQualityParameterName, "The quality of the best known solution of this problem.")); 44 44 } 45 45 46 public ValueParameter<BoolValue> MaximizationParameter { 46 [StorableHook(HookType.AfterDeserialization)] 47 protected virtual void AfterDeserialization() { 48 // BackwardsCompatibility3.3 49 #region Backwards compatible code (remove with 3.4) 50 if (BestKnownQualityParameter is ValueParameter<DoubleValue>) { 51 Parameters.Remove(BestKnownQualityParameterName); 52 Parameters.Add(new OptionalValueParameter<DoubleValue>(BestKnownQualityParameterName, "The quality of the best known solution of this problem.")); 53 } 54 #endregion 55 } 56 57 public IValueParameter<BoolValue> MaximizationParameter { 47 58 get { return (ValueParameter<BoolValue>)Parameters[MaximizationParameterName]; } 48 59 } … … 55 66 } 56 67 57 public ValueParameter<DoubleValue> BestKnownQualityParameter {58 get { return ( ValueParameter<DoubleValue>)Parameters[BestKnownQualityParameterName]; }68 public IValueParameter<DoubleValue> BestKnownQualityParameter { 69 get { return (IValueParameter<DoubleValue>)Parameters[BestKnownQualityParameterName]; } 59 70 } 60 71 IParameter ISingleObjectiveProblem.BestKnownQualityParameter {
Note: See TracChangeset
for help on using the changeset viewer.