- Timestamp:
- 08/02/15 15:22:46 (9 years ago)
- Location:
- branches/HeuristicLab.Problems.GrammaticalOptimization/Evaluation
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization/Evaluation/Evaluation.csproj
r12815 r12830 14 14 <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> 15 15 <WarningLevel>4</WarningLevel> 16 <PublishUrl>publish\</PublishUrl> 17 <Install>true</Install> 18 <InstallFrom>Disk</InstallFrom> 19 <UpdateEnabled>false</UpdateEnabled> 20 <UpdateMode>Foreground</UpdateMode> 21 <UpdateInterval>7</UpdateInterval> 22 <UpdateIntervalUnits>Days</UpdateIntervalUnits> 23 <UpdatePeriodically>false</UpdatePeriodically> 24 <UpdateRequired>false</UpdateRequired> 25 <MapFileExtensions>true</MapFileExtensions> 26 <ApplicationRevision>0</ApplicationRevision> 27 <ApplicationVersion>1.0.0.%2a</ApplicationVersion> 28 <IsWebBootstrapper>false</IsWebBootstrapper> 29 <UseApplicationTrust>false</UseApplicationTrust> 30 <BootstrapperEnabled>true</BootstrapperEnabled> 16 31 </PropertyGroup> 17 32 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 33 48 <ErrorReport>prompt</ErrorReport> 34 49 <WarningLevel>4</WarningLevel> 50 </PropertyGroup> 51 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> 52 <DebugSymbols>true</DebugSymbols> 53 <OutputPath>bin\x64\Debug\</OutputPath> 54 <DefineConstants>DEBUG;TRACE</DefineConstants> 55 <DebugType>full</DebugType> 56 <PlatformTarget>x64</PlatformTarget> 57 <ErrorReport>prompt</ErrorReport> 58 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> 59 <Prefer32Bit>true</Prefer32Bit> 60 </PropertyGroup> 61 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> 62 <OutputPath>bin\x64\Release\</OutputPath> 63 <DefineConstants>TRACE</DefineConstants> 64 <Optimize>true</Optimize> 65 <DebugType>pdbonly</DebugType> 66 <PlatformTarget>x64</PlatformTarget> 67 <ErrorReport>prompt</ErrorReport> 68 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> 69 <Prefer32Bit>true</Prefer32Bit> 35 70 </PropertyGroup> 36 71 <ItemGroup> … … 144 179 </ProjectReference> 145 180 </ItemGroup> 181 <ItemGroup> 182 <BootstrapperPackage Include=".NETFramework,Version=v4.5"> 183 <Visible>False</Visible> 184 <ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName> 185 <Install>true</Install> 186 </BootstrapperPackage> 187 <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> 188 <Visible>False</Visible> 189 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> 190 <Install>false</Install> 191 </BootstrapperPackage> 192 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> 193 <Visible>False</Visible> 194 <ProductName>.NET Framework 3.5 SP1</ProductName> 195 <Install>false</Install> 196 </BootstrapperPackage> 197 </ItemGroup> 146 198 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 147 199 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
branches/HeuristicLab.Problems.GrammaticalOptimization/Evaluation/MainWindow.xaml.cs
r12829 r12830 42 42 CenterWindowOnScreen(); 43 43 this.DataContext = vm = new EvaluationViewModel(); 44 vm.MaxLen = 100;44 vm.MaxLen = 23; 45 45 vm.MaxIterations = 500000; 46 46 vm.NrRuns = 20; 47 48 47 } 49 48 … … 164 163 ISymbolicExpressionTreeProblem problem = vm.SelectedProblem; 165 164 166 167 168 165 Type policy = vm.SelectedPolicy; 169 166 IBanditPolicy policyInstance = null; … … 189 186 { 190 187 ISolver solver = null; 188 191 189 Random random = new Random(Guid.NewGuid().GetHashCode()); 192 190 … … 400 398 tableExport.Append( 401 399 "Run\tMaxIterations\tEvaluations\tBestKnownQuality\tQuality\tQuality %\tFoundAt\tTotalTime\tSolutionTime\tEvaluationsPerSecond\tSolution"); 402 if (ListViewRuns.Items.Count > 0 && ((Run) 400 if (ListViewRuns.Items.Count > 0 && ((Run)ListViewRuns.Items[0]).TreeInfos != null) 403 401 { 404 402 tableExport.Append("\tTotalNodes\tUnexpandedNodes\tExpandedNodes\tLeaveNodes\tDeepestLevel");
Note: See TracChangeset
for help on using the changeset viewer.