Changeset 1872 for trunk/sources/HeuristicLab.ThreadParallelEngine
- Timestamp:
- 05/20/09 15:06:46 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.ThreadParallelEngine/3.3
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ThreadParallelEngine/3.3/HeuristicLab.ThreadParallelEngine-3.3.csproj
r1868 r1872 5 5 <ProductVersion>9.0.30729</ProductVersion> 6 6 <SchemaVersion>2.0</SchemaVersion> 7 <ProjectGuid>{ 6E757D0E-20F9-4E89-AF06-D7DA256870DB}</ProjectGuid>7 <ProjectGuid>{C2E99CCE-9FB0-456F-9BA0-57900E4AA799}</ProjectGuid> 8 8 <OutputType>Library</OutputType> 9 9 <AppDesignerFolder>Properties</AppDesignerFolder> 10 10 <RootNamespace>HeuristicLab.ThreadParallelEngine</RootNamespace> 11 <AssemblyName>HeuristicLab.ThreadParallelEngine-3. 2</AssemblyName>11 <AssemblyName>HeuristicLab.ThreadParallelEngine-3.3</AssemblyName> 12 12 <SignAssembly>true</SignAssembly> 13 13 <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile> … … 17 17 <UpgradeBackupLocation> 18 18 </UpgradeBackupLocation> 19 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> 19 20 </PropertyGroup> 20 21 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 35 36 <WarningLevel>4</WarningLevel> 36 37 <TreatWarningsAsErrors>false</TreatWarningsAsErrors> 37 <DocumentationFile>bin\Release\HeuristicLab.ThreadParallelEngine-3. 2.XML</DocumentationFile>38 <DocumentationFile>bin\Release\HeuristicLab.ThreadParallelEngine-3.3.xml</DocumentationFile> 38 39 </PropertyGroup> 39 40 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> … … 73 74 <ItemGroup> 74 75 <Reference Include="System" /> 76 <Reference Include="System.Core"> 77 <RequiredTargetFramework>3.5</RequiredTargetFramework> 78 </Reference> 75 79 <Reference Include="System.Data" /> 76 80 <Reference Include="System.Drawing" /> … … 94 98 </ItemGroup> 95 99 <ItemGroup> 96 <ProjectReference Include="..\..\HeuristicLab.Core\3.2\HeuristicLab.Core-3.2.csproj"> 97 <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project> 98 <Name>HeuristicLab.Core-3.2</Name> 100 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj"> 101 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project> 102 <Name>HeuristicLab.Core-3.3</Name> 103 </ProjectReference> 104 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 105 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project> 106 <Name>HeuristicLab.Persistence-3.3</Name> 99 107 </ProjectReference> 100 108 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj"> -
trunk/sources/HeuristicLab.ThreadParallelEngine/3.3/HeuristicLabThreadParallelEnginePlugin.cs
r1530 r1872 29 29 /// Plugin class for HeuristicLab.ThreadParallelEngine plugin. 30 30 /// </summary> 31 [ClassInfo(Name = "HeuristicLab.ThreadParallelEngine-3. 2")]32 [PluginFile(Filename = "HeuristicLab.ThreadParallelEngine-3. 2.dll", Filetype = PluginFileType.Assembly)]33 [Dependency(Dependency = "HeuristicLab.Core-3. 2")]31 [ClassInfo(Name = "HeuristicLab.ThreadParallelEngine-3.3")] 32 [PluginFile(Filename = "HeuristicLab.ThreadParallelEngine-3.3.dll", Filetype = PluginFileType.Assembly)] 33 [Dependency(Dependency = "HeuristicLab.Core-3.3")] 34 34 public class HeuristicLabThreadParallelEnginePlugin : PluginBase { 35 35 } -
trunk/sources/HeuristicLab.ThreadParallelEngine/3.3/Properties/AssemblyInfo.frame
r581 r1872 54 54 // You can specify all the values or you can default the Revision and Build Numbers 55 55 // by using the '*' as shown below: 56 [assembly: AssemblyVersion("3. 2.0.$WCREV$")]57 [assembly: AssemblyFileVersion("3. 2.0.$WCREV$")]56 [assembly: AssemblyVersion("3.3.0.$WCREV$")] 57 [assembly: AssemblyFileVersion("3.3.0.$WCREV$")] 58 58 [assembly: AssemblyBuildDate("$WCNOW$")] -
trunk/sources/HeuristicLab.ThreadParallelEngine/3.3/ThreadParallelEngine.cs
r1530 r1872 26 26 using System.Threading; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 29 29 30 namespace HeuristicLab.ThreadParallelEngine { … … 44 45 private int operatorIndex; 45 46 47 [Storable] 46 48 private int myWorkers; 47 49 /// <summary> … … 211 213 WorkersChanged(this, new EventArgs()); 212 214 } 213 214 #region Persistence Methods215 /// <summary>216 /// Saves the current instance as <see cref="XmlNode"/> in the specified <paramref name="document"/>.217 /// </summary>218 /// <remarks>The number of workers is saved as <see cref="XmlAttribute"/> with attribute name219 /// <c>Workers</c>.</remarks>220 /// <param name="name">The (tag)name of the <see cref="XmlNode"/>.</param>221 /// <param name="document">The <see cref="XmlDocument"/> where the data is saved.</param>222 /// <param name="persistedObjects">The dictionary of all already persisted objects.223 /// (Needed to avoid cycles.)</param>224 /// <returns>The saved <see cref="XmlNode"/>.</returns>225 public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) {226 XmlNode node = base.GetXmlNode(name, document, persistedObjects);227 XmlAttribute workersAttribute = document.CreateAttribute("Workers");228 workersAttribute.Value = Workers.ToString();229 node.Attributes.Append(workersAttribute);230 return node;231 }232 /// <summary>233 /// Loads the persisted engine from the specified <paramref name="node"/>.234 /// </summary>235 /// <remarks>The number of workers must be saved in a specific way, see <see cref="GetXmlNode"/>236 /// for further information.</remarks>237 /// <param name="node">The <see cref="XmlNode"/> where the instance is saved.</param>238 /// <param name="restoredObjects">The dictionary of all already restored objects.239 /// (Needed to avoid cycles.)</param>240 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {241 base.Populate(node, restoredObjects);242 myWorkers = int.Parse(node.Attributes["Workers"].Value);243 }244 #endregion245 215 } 246 216 }
Note: See TracChangeset
for help on using the changeset viewer.