Changeset 1699 for trunk/sources/HeuristicLab.Routing.TSP/3.3
- Timestamp:
- 04/28/09 16:05:09 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Routing.TSP/3.3
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Routing.TSP/3.3/HeuristicLab.Routing.TSP-3.3.csproj
r1697 r1699 5 5 <ProductVersion>9.0.30729</ProductVersion> 6 6 <SchemaVersion>2.0</SchemaVersion> 7 <ProjectGuid>{ 9EF75B49-D507-44E0-BC5D-C200FDA53B9B}</ProjectGuid>7 <ProjectGuid>{600287A3-8714-453E-B875-A05F3EB72315}</ProjectGuid> 8 8 <OutputType>Library</OutputType> 9 9 <AppDesignerFolder>Properties</AppDesignerFolder> 10 10 <RootNamespace>HeuristicLab.Routing.TSP</RootNamespace> 11 <AssemblyName>HeuristicLab.Routing.TSP-3. 2</AssemblyName>11 <AssemblyName>HeuristicLab.Routing.TSP-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' "> … … 36 37 <ErrorReport>prompt</ErrorReport> 37 38 <WarningLevel>4</WarningLevel> 38 <DocumentationFile>bin\Release\HeuristicLab.Routing.TSP-3. 2.XML</DocumentationFile>39 <DocumentationFile>bin\Release\HeuristicLab.Routing.TSP-3.3.xml</DocumentationFile> 39 40 <TreatWarningsAsErrors>false</TreatWarningsAsErrors> 40 41 </PropertyGroup> … … 75 76 <ItemGroup> 76 77 <Reference Include="System" /> 78 <Reference Include="System.Core"> 79 <RequiredTargetFramework>3.5</RequiredTargetFramework> 80 </Reference> 77 81 <Reference Include="System.Data" /> 78 82 <Reference Include="System.Drawing" /> … … 106 110 </ItemGroup> 107 111 <ItemGroup> 108 <ProjectReference Include="..\..\HeuristicLab.Charting\3. 2\HeuristicLab.Charting-3.2.csproj">109 <Project>{ B462D3CC-8866-42F0-9832-AD0967613B72}</Project>110 <Name>HeuristicLab.Charting-3. 2</Name>112 <ProjectReference Include="..\..\HeuristicLab.Charting\3.3\HeuristicLab.Charting-3.3.csproj"> 113 <Project>{A8265018-D687-4907-8A36-63B25967A038}</Project> 114 <Name>HeuristicLab.Charting-3.3</Name> 111 115 </ProjectReference> 112 <ProjectReference Include="..\..\HeuristicLab.Core\3. 2\HeuristicLab.Core-3.2.csproj">113 <Project>{ F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>114 <Name>HeuristicLab.Core-3. 2</Name>116 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj"> 117 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project> 118 <Name>HeuristicLab.Core-3.3</Name> 115 119 </ProjectReference> 116 <ProjectReference Include="..\..\HeuristicLab.Data\3. 2\HeuristicLab.Data-3.2.csproj">117 <Project>{ F473D9AF-3F09-4296-9F28-3C65118DAFFA}</Project>118 <Name>HeuristicLab.Data-3. 2</Name>120 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj"> 121 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project> 122 <Name>HeuristicLab.Data-3.3</Name> 119 123 </ProjectReference> 120 <ProjectReference Include="..\..\HeuristicLab.Operators\3. 2\HeuristicLab.Operators-3.2.csproj">121 <Project>{ A9983BA2-B3B2-475E-8E2C-62050B71D1C5}</Project>122 <Name>HeuristicLab.Operators-3. 2</Name>124 <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj"> 125 <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project> 126 <Name>HeuristicLab.Operators-3.3</Name> 123 127 </ProjectReference> 124 <ProjectReference Include="..\..\HeuristicLab.Permutation\3.2\HeuristicLab.Permutation-3.2.csproj"> 125 <Project>{55FDCFB3-3E8C-4FB0-837C-0CF06BEDED39}</Project> 126 <Name>HeuristicLab.Permutation-3.2</Name> 128 <ProjectReference Include="..\..\HeuristicLab.Permutation\3.3\HeuristicLab.Permutation-3.3.csproj"> 129 <Project>{00282156-589D-424F-9CE4-A8038636C926}</Project> 130 <Name>HeuristicLab.Permutation-3.3</Name> 131 </ProjectReference> 132 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 133 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project> 134 <Name>HeuristicLab.Persistence-3.3</Name> 127 135 </ProjectReference> 128 136 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj"> -
trunk/sources/HeuristicLab.Routing.TSP/3.3/HeuristicLabRoutingTSPPlugin.cs
r1530 r1699 29 29 /// Plugin class for HeuristicLab.Routing.TSP plugin 30 30 /// </summary> 31 [ClassInfo(Name = "HeuristicLab.Routing.TSP-3.2")] 32 [PluginFile(Filename = "HeuristicLab.Routing.TSP-3.2.dll", Filetype = PluginFileType.Assembly)] 33 [Dependency(Dependency = "HeuristicLab.Core-3.2")] 34 [Dependency(Dependency = "HeuristicLab.Data-3.2")] 35 [Dependency(Dependency = "HeuristicLab.Operators-3.2")] 36 [Dependency(Dependency = "HeuristicLab.Permutation-3.2")] 37 [Dependency(Dependency = "HeuristicLab.Charting-3.2")] 31 [ClassInfo(Name = "HeuristicLab.Routing.TSP-3.3")] 32 [PluginFile(Filename = "HeuristicLab.Routing.TSP-3.3.dll", Filetype = PluginFileType.Assembly)] 33 [Dependency(Dependency = "HeuristicLab.Core-3.3")] 34 [Dependency(Dependency = "HeuristicLab.Data-3.3")] 35 [Dependency(Dependency = "HeuristicLab.Operators-3.3")] 36 [Dependency(Dependency = "HeuristicLab.Permutation-3.3")] 37 [Dependency(Dependency = "HeuristicLab.Charting-3.3")] 38 [Dependency(Dependency = "HeuristicLab.Persistence-3.3")] 38 39 public class HeuristicLabRoutingTSPPlugin : PluginBase { 39 40 } -
trunk/sources/HeuristicLab.Routing.TSP/3.3/Properties/AssemblyInfo.frame
r581 r1699 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.Routing.TSP/3.3/TSPTour.cs
r1530 r1699 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Permutation; 29 using HeuristicLab.Persistence.Default.Decomposers.Storable; 29 30 30 31 namespace HeuristicLab.Routing.TSP { … … 33 34 /// </summary> 34 35 public class TSPTour : ItemBase, IVisualizationItem { 36 37 [Storable] 35 38 private DoubleMatrixData myCoordinates; 36 39 /// <summary> … … 41 44 set { myCoordinates = value; } 42 45 } 46 47 [Storable] 43 48 private Permutation.Permutation myTour; 44 49 /// <summary> … … 109 114 if (TourChanged != null) 110 115 TourChanged(this, new EventArgs()); 111 } 112 113 #region Persistence Methods 114 /// <summary> 115 /// Saves the current instance as <see cref="XmlNode"/> in the specified <paramref name="document"/>. 116 /// </summary> 117 /// <remarks>Calls <see cref="StorableBase.GetXmlNode"/> of base class <see cref="ItemBase"/>. <br/> 118 /// The coordinates and the tour are saved as a child node with the tag names <c>Coordinates</c> and 119 /// <c>Tour</c>.</remarks> 120 /// <param name="name">The (tag)name of the <see cref="XmlNode"/>.</param> 121 /// <param name="document">The <see cref="XmlDocument"/> where to save the data.</param> 122 /// <param name="persistedObjects">The dictionary of all already persisted objects. 123 /// (Needed to avoid cycles.)</param> 124 /// <returns>The saved <see cref="XmlNode"/>.</returns> 125 public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) { 126 XmlNode node = base.GetXmlNode(name, document, persistedObjects); 127 node.AppendChild(PersistenceManager.Persist("Coordinates", Coordinates, document, persistedObjects)); 128 node.AppendChild(PersistenceManager.Persist("Tour", Tour, document, persistedObjects)); 129 return node; 130 } 131 /// <summary> 132 /// Loads the persisted TSP tour from the specified <paramref name="node"/>. 133 /// </summary> 134 /// <remarks>Calls <see cref="StorableBase.Populate"/> of base class 135 /// <see cref="ItemBase"/>.<br/> 136 /// The coordinates and the tour must be saved as child nodes with the tag names <c>Coordinates</c> 137 /// and <c>Tour</c> (see <see cref="GetXmlNode"/>).</remarks> 138 /// <param name="node">The <see cref="XmlNode"/> where the TSP tour is saved.</param> 139 /// <param name="restoredObjects">A dictionary of all already restored objects. (Needed to avoid cycles.)</param> 140 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) { 141 base.Populate(node, restoredObjects); 142 myCoordinates = (DoubleMatrixData)PersistenceManager.Restore(node.SelectSingleNode("Coordinates"), restoredObjects); 143 myTour = (Permutation.Permutation)PersistenceManager.Restore(node.SelectSingleNode("Tour"), restoredObjects); 144 } 145 #endregion 116 } 146 117 } 147 118 }
Note: See TracChangeset
for help on using the changeset viewer.