source: trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.4.csproj @ 10520

Last change on this file since 10520 was 10520, checked in by bburlacu, 6 years ago

#2076: Got rid of layout adapters. Extracted the previous drawing code and made it into another layout engine called the BoxesLayoutEngine (because it divides the areas necessary for each subtree into boxes and recursively applies the layout). Simplified usage of layout engine so that most of the things are handled internally, and the user just has to provide some lambdas telling the engine how to navigate the original tree. Added context option in the SymbolicExpressionTreeChart to choose which layout engine to use for tree drawing. Moved the SymbolicExpressionTreeLatexFormatter to the HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views assembly because it depends on the layout engine.

File size: 13.8 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <PropertyGroup>
4    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6    <ProductVersion>9.0.30729</ProductVersion>
7    <SchemaVersion>2.0</SchemaVersion>
8    <ProjectGuid>{423BD94F-963A-438E-BA45-3BB3D61CD03B}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views</RootNamespace>
12    <AssemblyName>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.4</AssemblyName>
13    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14    <TargetFrameworkProfile>
15    </TargetFrameworkProfile>
16    <FileAlignment>512</FileAlignment>
17    <SignAssembly>true</SignAssembly>
18    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
19    <FileUpgradeFlags>
20    </FileUpgradeFlags>
21    <OldToolsVersion>3.5</OldToolsVersion>
22    <UpgradeBackupLocation />
23    <PublishUrl>publish\</PublishUrl>
24    <Install>true</Install>
25    <InstallFrom>Disk</InstallFrom>
26    <UpdateEnabled>false</UpdateEnabled>
27    <UpdateMode>Foreground</UpdateMode>
28    <UpdateInterval>7</UpdateInterval>
29    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
30    <UpdatePeriodically>false</UpdatePeriodically>
31    <UpdateRequired>false</UpdateRequired>
32    <MapFileExtensions>true</MapFileExtensions>
33    <ApplicationRevision>0</ApplicationRevision>
34    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
35    <IsWebBootstrapper>false</IsWebBootstrapper>
36    <UseApplicationTrust>false</UseApplicationTrust>
37    <BootstrapperEnabled>true</BootstrapperEnabled>
38  </PropertyGroup>
39  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
40    <DebugSymbols>true</DebugSymbols>
41    <DebugType>full</DebugType>
42    <Optimize>false</Optimize>
43    <OutputPath>$(SolutionDir)\bin\</OutputPath>
44    <DefineConstants>DEBUG;TRACE</DefineConstants>
45    <ErrorReport>prompt</ErrorReport>
46    <WarningLevel>4</WarningLevel>
47    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
48  </PropertyGroup>
49  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
50    <DebugType>pdbonly</DebugType>
51    <Optimize>true</Optimize>
52    <OutputPath>$(SolutionDir)\bin\</OutputPath>
53    <DefineConstants>TRACE</DefineConstants>
54    <ErrorReport>prompt</ErrorReport>
55    <WarningLevel>4</WarningLevel>
56    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
57  </PropertyGroup>
58  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
59    <DebugSymbols>true</DebugSymbols>
60    <OutputPath>$(SolutionDir)\bin\</OutputPath>
61    <DefineConstants>DEBUG;TRACE</DefineConstants>
62    <DebugType>full</DebugType>
63    <PlatformTarget>x64</PlatformTarget>
64    <ErrorReport>prompt</ErrorReport>
65    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
66  </PropertyGroup>
67  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
68    <OutputPath>$(SolutionDir)\bin\</OutputPath>
69    <DefineConstants>TRACE</DefineConstants>
70    <Optimize>true</Optimize>
71    <DebugType>pdbonly</DebugType>
72    <PlatformTarget>x64</PlatformTarget>
73    <ErrorReport>prompt</ErrorReport>
74    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
75  </PropertyGroup>
76  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
77    <DebugSymbols>true</DebugSymbols>
78    <OutputPath>$(SolutionDir)\bin\</OutputPath>
79    <DefineConstants>DEBUG;TRACE</DefineConstants>
80    <DebugType>full</DebugType>
81    <PlatformTarget>x86</PlatformTarget>
82    <ErrorReport>prompt</ErrorReport>
83    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
84  </PropertyGroup>
85  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
86    <OutputPath>$(SolutionDir)\bin\</OutputPath>
87    <DefineConstants>TRACE</DefineConstants>
88    <Optimize>true</Optimize>
89    <DebugType>pdbonly</DebugType>
90    <PlatformTarget>x86</PlatformTarget>
91    <ErrorReport>prompt</ErrorReport>
92    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
93  </PropertyGroup>
94  <ItemGroup>
95    <Reference Include="System" />
96    <Reference Include="System.Core">
97      <RequiredTargetFramework>3.5</RequiredTargetFramework>
98    </Reference>
99    <Reference Include="System.Drawing" />
100    <Reference Include="System.Windows.Forms" />
101    <Reference Include="System.Windows.Forms.DataVisualization" />
102    <Reference Include="System.Xml.Linq">
103      <RequiredTargetFramework>3.5</RequiredTargetFramework>
104    </Reference>
105    <Reference Include="System.Data.DataSetExtensions">
106      <RequiredTargetFramework>3.5</RequiredTargetFramework>
107    </Reference>
108    <Reference Include="System.Data" />
109    <Reference Include="System.Xml" />
110  </ItemGroup>
111  <ItemGroup>
112    <Compile Include="Formatters\SymbolicExpressionTreeLatexFormatter.cs" />
113    <Compile Include="LayoutEngines\BoxesLayoutEngine.cs" />
114    <Compile Include="LayoutEngines\ILayoutEngine.cs" />
115    <Compile Include="LayoutEngines\LayoutNode.cs" />
116    <Compile Include="LayoutEngines\ReingoldTilfordLayoutEngine.cs" />
117    <Compile Include="Plugin.cs" />
118    <Compile Include="SymbolicExpressionGrammarAllowedChildSymbolsControl.cs">
119      <SubType>UserControl</SubType>
120    </Compile>
121    <Compile Include="SymbolicExpressionGrammarAllowedChildSymbolsControl.Designer.cs">
122      <DependentUpon>SymbolicExpressionGrammarAllowedChildSymbolsControl.cs</DependentUpon>
123    </Compile>
124    <Compile Include="SymbolicExpressionGrammarEditorView.cs">
125      <SubType>UserControl</SubType>
126    </Compile>
127    <Compile Include="SymbolicExpressionGrammarEditorView.Designer.cs">
128      <DependentUpon>SymbolicExpressionGrammarEditorView.cs</DependentUpon>
129    </Compile>
130    <Compile Include="SymbolicExpressionGrammarSampleExpressionTreeView.cs">
131      <SubType>UserControl</SubType>
132    </Compile>
133    <Compile Include="SymbolicExpressionGrammarSampleExpressionTreeView.Designer.cs">
134      <DependentUpon>SymbolicExpressionGrammarSampleExpressionTreeView.cs</DependentUpon>
135    </Compile>
136    <Compile Include="SymbolicExpressionGrammarView.cs">
137      <SubType>UserControl</SubType>
138    </Compile>
139    <Compile Include="SymbolicExpressionGrammarView.Designer.cs">
140      <DependentUpon>SymbolicExpressionGrammarView.cs</DependentUpon>
141    </Compile>
142    <Compile Include="SymbolView.cs">
143      <SubType>UserControl</SubType>
144    </Compile>
145    <Compile Include="SymbolView.Designer.cs">
146      <DependentUpon>SymbolView.cs</DependentUpon>
147    </Compile>
148    <Compile Include="GraphicalSymbolicExpressionTreeView.cs">
149      <SubType>UserControl</SubType>
150    </Compile>
151    <Compile Include="GraphicalSymbolicExpressionTreeView.Designer.cs">
152      <DependentUpon>GraphicalSymbolicExpressionTreeView.cs</DependentUpon>
153    </Compile>
154    <Compile Include="Properties\AssemblyInfo.cs" />
155    <Compile Include="SymbolicExpressionTreeChart.cs">
156      <SubType>UserControl</SubType>
157    </Compile>
158    <Compile Include="SymbolicExpressionTreeChart.Designer.cs">
159      <DependentUpon>SymbolicExpressionTreeChart.cs</DependentUpon>
160    </Compile>
161    <Compile Include="SymbolicExpressionView.cs">
162      <SubType>UserControl</SubType>
163    </Compile>
164    <Compile Include="SymbolicExpressionView.Designer.cs">
165      <DependentUpon>SymbolicExpressionView.cs</DependentUpon>
166    </Compile>
167    <Compile Include="VisualTreeNode.cs" />
168    <Compile Include="VisualTreeNodeConnection.cs" />
169  </ItemGroup>
170  <ItemGroup>
171    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
172      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
173      <Name>HeuristicLab.Collections-3.3</Name>
174      <Private>False</Private>
175    </ProjectReference>
176    <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
177      <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
178      <Name>HeuristicLab.Common.Resources-3.3</Name>
179      <Private>False</Private>
180    </ProjectReference>
181    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
182      <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
183      <Name>HeuristicLab.Common-3.3</Name>
184      <Private>False</Private>
185    </ProjectReference>
186    <ProjectReference Include="..\..\HeuristicLab.Core.Views\3.3\HeuristicLab.Core.Views-3.3.csproj">
187      <Project>{E226881D-315F-423D-B419-A766FE0D8685}</Project>
188      <Name>HeuristicLab.Core.Views-3.3</Name>
189      <Private>False</Private>
190    </ProjectReference>
191    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
192      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
193      <Name>HeuristicLab.Core-3.3</Name>
194      <Private>False</Private>
195    </ProjectReference>
196    <ProjectReference Include="..\..\HeuristicLab.Data.Views\3.3\HeuristicLab.Data.Views-3.3.csproj">
197      <Project>{72104A0B-90E7-42F3-9ABE-9BBBADD4B943}</Project>
198      <Name>HeuristicLab.Data.Views-3.3</Name>
199      <Private>False</Private>
200    </ProjectReference>
201    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
202      <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
203      <Name>HeuristicLab.Data-3.3</Name>
204      <Private>False</Private>
205    </ProjectReference>
206    <ProjectReference Include="..\..\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding\3.4\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.csproj">
207      <Project>{06D4A186-9319-48A0-BADE-A2058D462EEA}</Project>
208      <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4</Name>
209      <Private>False</Private>
210    </ProjectReference>
211    <ProjectReference Include="..\..\HeuristicLab.MainForm.WindowsForms\3.3\HeuristicLab.MainForm.WindowsForms-3.3.csproj">
212      <Project>{AB687BBE-1BFE-476B-906D-44237135431D}</Project>
213      <Name>HeuristicLab.MainForm.WindowsForms-3.3</Name>
214      <Private>False</Private>
215    </ProjectReference>
216    <ProjectReference Include="..\..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj">
217      <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project>
218      <Name>HeuristicLab.MainForm-3.3</Name>
219      <Private>False</Private>
220    </ProjectReference>
221    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
222      <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
223      <Name>HeuristicLab.Operators-3.3</Name>
224      <Private>False</Private>
225    </ProjectReference>
226    <ProjectReference Include="..\..\HeuristicLab.Optimization.Views\3.3\HeuristicLab.Optimization.Views-3.3.csproj">
227      <Project>{662B4B15-8F4D-4AE5-B3EB-D91C215F5AF2}</Project>
228      <Name>HeuristicLab.Optimization.Views-3.3</Name>
229      <Private>False</Private>
230    </ProjectReference>
231    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
232      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
233      <Name>HeuristicLab.Optimization-3.3</Name>
234      <Private>False</Private>
235    </ProjectReference>
236    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
237      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
238      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
239      <Private>False</Private>
240    </ProjectReference>
241    <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">
242      <Project>{F4539FB6-4708-40C9-BE64-0A1390AEA197}</Project>
243      <Name>HeuristicLab.Random-3.3</Name>
244      <Private>False</Private>
245    </ProjectReference>
246    <ProjectReference Include="..\..\HeuristicLab.Visualization.ChartControlsExtensions\3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.csproj">
247      <Project>{315BDA09-3F4F-49B3-9790-B37CFC1C5750}</Project>
248      <Name>HeuristicLab.Visualization.ChartControlsExtensions-3.3</Name>
249      <Private>False</Private>
250    </ProjectReference>
251  </ItemGroup>
252  <ItemGroup>
253    <None Include="HeuristicLab.snk" />
254    <None Include="Plugin.cs.frame" />
255    <None Include="Properties\AssemblyInfo.cs.frame" />
256  </ItemGroup>
257  <ItemGroup>
258    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
259      <Visible>False</Visible>
260      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
261      <Install>false</Install>
262    </BootstrapperPackage>
263    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
264      <Visible>False</Visible>
265      <ProductName>.NET Framework 3.5 SP1</ProductName>
266      <Install>true</Install>
267    </BootstrapperPackage>
268    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
269      <Visible>False</Visible>
270      <ProductName>Windows Installer 3.1</ProductName>
271      <Install>true</Install>
272    </BootstrapperPackage>
273  </ItemGroup>
274  <ItemGroup />
275  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
276  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
277       Other similar extension points exist, see Microsoft.Common.targets.
278  <Target Name="BeforeBuild">
279  </Target>
280  <Target Name="AfterBuild">
281  </Target>
282  -->
283  <PropertyGroup>
284    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
285set ProjectDir=$(ProjectDir)
286set SolutionDir=$(SolutionDir)
287set Outdir=$(Outdir)
288
289call PreBuildEvent.cmd
290</PreBuildEvent>
291    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
292export ProjectDir=$(ProjectDir)
293export SolutionDir=$(SolutionDir)
294
295$SolutionDir/PreBuildEvent.sh
296</PreBuildEvent>
297  </PropertyGroup>
298</Project>
Note: See TracBrowser for help on using the repository browser.